Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
7963:96b71ea64386 | 7964:a5c70e43ee43 |
---|---|
681 | 681 |
682 gtk_list_store_set(store, &iter, | 682 gtk_list_store_set(store, &iter, |
683 0, gaim_request_field_list_get_data(field, text), | 683 0, gaim_request_field_list_get_data(field, text), |
684 1, text, | 684 1, text, |
685 -1); | 685 -1); |
686 | |
687 if (gaim_request_field_list_is_selected(field, text)) | |
688 gtk_tree_selection_select_iter(sel, &iter); | |
686 } | 689 } |
687 | 690 |
688 gtk_container_add(GTK_CONTAINER(sw), treeview); | 691 gtk_container_add(GTK_CONTAINER(sw), treeview); |
689 gtk_widget_show(treeview); | 692 gtk_widget_show(treeview); |
690 | 693 |