pidgin/plugins/disco/gtkdisco.c

changeset 34329
ddbc1337332c
parent 33271
53bf180b9eb1
child 34449
bbcb198650b7
child 36754
8250d6be8c02
equal deleted inserted replaced
34328:d0b5e37899e1 34329:ddbc1337332c
242 dialog->prompt_handle = purple_request_input(my_plugin, _("Server name request"), _("Enter an XMPP Server"), 242 dialog->prompt_handle = purple_request_input(my_plugin, _("Server name request"), _("Enter an XMPP Server"),
243 _("Select an XMPP server to query"), 243 _("Select an XMPP server to query"),
244 server, FALSE, FALSE, NULL, 244 server, FALSE, FALSE, NULL,
245 _("Find Services"), PURPLE_CALLBACK(discolist_ok_cb), 245 _("Find Services"), PURPLE_CALLBACK(discolist_ok_cb),
246 _("Cancel"), PURPLE_CALLBACK(discolist_cancel_cb), 246 _("Cancel"), PURPLE_CALLBACK(discolist_cancel_cb),
247 purple_connection_get_account(pc), NULL, NULL, pdl); 247 purple_request_cpar_from_connection(pc), pdl);
248 248
249 g_free(server); 249 g_free(server);
250 } 250 }
251 251
252 static void add_to_blist_cb(GtkWidget *unused, PidginDiscoDialog *dialog) 252 static void add_to_blist_cb(GtkWidget *unused, PidginDiscoDialog *dialog)

mercurial