| 240 |
240 |
| 241 if (server == NULL) |
241 if (server == NULL) |
| 242 /* This shouldn't ever happen since the account is connected */ |
242 /* This shouldn't ever happen since the account is connected */ |
| 243 server = g_strdup("jabber.org"); |
243 server = g_strdup("jabber.org"); |
| 244 |
244 |
| 245 /* Note to translators: The string "Enter an XMPP Server" is asking the |
245 /* Translators: The string "Enter an XMPP Server" is asking the user to |
| 246 user to type the name of an XMPP server which will then be queried */ |
246 type the name of an XMPP server which will then be queried */ |
| 247 dialog->prompt_handle = purple_request_input(my_plugin, _("Server name request"), _("Enter an XMPP Server"), |
247 dialog->prompt_handle = purple_request_input(my_plugin, _("Server name request"), _("Enter an XMPP Server"), |
| 248 _("Select an XMPP server to query"), |
248 _("Select an XMPP server to query"), |
| 249 server, FALSE, FALSE, NULL, |
249 server, FALSE, FALSE, NULL, |
| 250 _("Find Services"), PURPLE_CALLBACK(discolist_ok_cb), |
250 _("Find Services"), PURPLE_CALLBACK(discolist_ok_cb), |
| 251 _("Cancel"), PURPLE_CALLBACK(discolist_cancel_cb), |
251 _("Cancel"), PURPLE_CALLBACK(discolist_cancel_cb), |