Removing items from a list box using gtk_container_remove is nasty,
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 18 Apr 2003 09:14:54 +0000 (09:14 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 18 Apr 2003 09:14:54 +0000 (09:14 +0000)
commitb4c61ce2c6c9c8e1cf02260ac993676013c12c73
tree395a0795f42731d5240a7ef0c12424ffec55c1d7
parent52893a36f449e9e6cd65cc2f805e9de89dfae3ca
Removing items from a list box using gtk_container_remove is nasty,
because when the selected item is removed the selection moves on to
another item. Thus, calling dlg_listbox_clear causes repeated
selchanges in the list, which in turn cause repeated valchanges if
the list is attached to a combo box. This has been completely
scuppering the Translation panel.

git-svn-id: svn://svn.tartarus.org/sgt/putty@3130 cda61777-01e9-0310-a592-d414129be87e
unix/gtkdlg.c