changeset 21268:319f5ff72eba

Bring silcpurple_create_keypair for silc 1.0 in line with the new hinted version of purple_create_fields_with_hint. Incidentally fixes compilation, as well. ;-)
author Ethan Blanton <elb@pidgin.im>
date Sun, 28 Oct 2007 01:37:23 +0000
parents 83b9a8201cbd
children 68d6de0845f9
files libpurple/protocols/silc10/silc.c
diffstat 1 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/silc10/silc.c	Sun Oct 28 01:05:17 2007 +0000
+++ b/libpurple/protocols/silc10/silc.c	Sun Oct 28 01:37:23 2007 +0000
@@ -936,11 +936,14 @@
 	purple_request_field_group_add_field(g, f);
 	purple_request_fields_add_group(fields, g);
 
-	purple_request_fields(gc, _("Create New SILC Key Pair"),
-			    _("Create New SILC Key Pair"), NULL, fields,
-			    _("Generate Key Pair"), G_CALLBACK(silcpurple_create_keypair_cb),
-			    _("Cancel"), G_CALLBACK(silcpurple_create_keypair_cancel),
-				gc->account, NULL, NULL, "blist", gc);
+	purple_request_fields_with_hint(gc, _("Create New SILC Key Pair"),
+	                                _("Create New SILC Key Pair"), NULL,
+	                                fields, _("Generate Key Pair"),
+	                                G_CALLBACK(silcpurple_create_keypair_cb),
+	                                _("Cancel"),
+                                        G_CALLBACK(silcpurple_create_keypair_cancel),
+	                                gc->account, NULL, NULL,
+                                        PURPLE_REQUEST_UI_HINT_BLIST, gc);
 
 	g_strfreev(u);
 	silc_free(hostname);