changeset 21210:5a12b881ac39

Sample use of the buddylist node request field.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 03 Oct 2007 05:42:31 +0000
parents 975691a8d718
children 25d0dc5f8c3f b65f1bff6412
files pidgin/gtkdialogs.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkdialogs.c	Wed Oct 03 05:41:55 2007 +0000
+++ b/pidgin/gtkdialogs.c	Wed Oct 03 05:42:31 2007 +0000
@@ -756,6 +756,10 @@
 	purple_request_field_set_required(field, TRUE);
 	purple_request_field_group_add_field(group, field);
 
+	field = purple_request_field_blist_nodes_new("blistnodes", _("Buddy"),
+			PURPLE_REQUEST_BLIST_FLAG_BUDDY, NULL);
+	purple_request_field_group_add_field(group, field);
+
 	field = purple_request_field_account_new("account", _("_Account"), NULL);
 	purple_request_field_set_type_hint(field, "account");
 	purple_request_field_set_visible(field,