Mercurial > pidgin
diff src/gtkrequest.c @ 7964:a5c70e43ee43
[gaim-migrate @ 8641]
The multiple item list should now prevent against multiple selections when
it's a non-multi-select list, and should automatically select the items in
the selection list when creating the dialog. Also added a hashtable and a
function for determining if a particular item is selected.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 31 Dec 2003 08:05:22 +0000 |
parents | d40e91c32acf |
children | fa6395637e2c |
line wrap: on
line diff
--- a/src/gtkrequest.c Wed Dec 31 07:51:37 2003 +0000 +++ b/src/gtkrequest.c Wed Dec 31 08:05:22 2003 +0000 @@ -683,6 +683,9 @@ 0, gaim_request_field_list_get_data(field, text), 1, text, -1); + + if (gaim_request_field_list_is_selected(field, text)) + gtk_tree_selection_select_iter(sel, &iter); } gtk_container_add(GTK_CONTAINER(sw), treeview);