Mercurial > pidgin.yaz
diff src/request.h @ 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 | 96b71ea64386 |
children | fa6395637e2c |
line wrap: on
line diff
--- a/src/request.h Wed Dec 31 07:51:37 2003 +0000 +++ b/src/request.h Wed Dec 31 08:05:22 2003 +0000 @@ -106,6 +106,7 @@ GList *items; GHashTable *item_data; GList *selected; + GHashTable *selected_table; gboolean multiple_selection; @@ -780,6 +781,17 @@ GList *items); /** + * Returns whether or not a particular item is selected in a list field. + * + * @param field The field. + * @param item The item. + * + * @return TRUE if the item is selected. FALSE otherwise. + */ +gboolean gaim_request_field_list_is_selected(const GaimRequestField *field, + const char *item); + +/** * Returns a list of selected items in a list field. * * To retrieve the data for each item, use