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