im.pidgin.pidgin.next.minor: f286d10af3621cf62257f54718ae194d75be1916

elb at pidgin.im elb at pidgin.im
Sat Oct 27 21:40:38 EDT 2007


-----------------------------------------------------------------
Revision: f286d10af3621cf62257f54718ae194d75be1916
Ancestor: a0884e2d4f9b7d88d67b8481b7b90e4fa94d302f
Author: elb at pidgin.im
Date: 2007-10-28T01:37:23
Branch: im.pidgin.pidgin.next.minor

Modified files:
        libpurple/protocols/silc10/silc.c

ChangeLog: 

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.  ;-)

-------------- next part --------------
============================================================
--- libpurple/protocols/silc10/silc.c	0d0cc3526849fb52fd741590f9db2beb1dcd925f
+++ libpurple/protocols/silc10/silc.c	5896d7ec33a8273f2ddaa08fc18299391672374f
@@ -936,11 +936,14 @@ silcpurple_create_keypair(PurplePluginAc
 	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);


More information about the Commits mailing list