Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/jabber.c @ 21099:51cf02dbdb0e
disapproval of revision 'c484d979c4fda4433a9633ff8b69bd8a395c9479'
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 16 Nov 2007 23:30:03 +0000 |
parents | cab348e39751 |
children | fcb848b2d669 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c Sun Oct 14 00:26:00 2007 +0000 +++ b/libpurple/protocols/jabber/jabber.c Fri Nov 16 23:30:03 2007 +0000 @@ -1002,21 +1002,21 @@ cbdata->who = g_strdup(from); if(js->registration) - purple_request_fields_with_hint(js->gc, _("Register New XMPP Account"), + purple_request_fields(js->gc, _("Register New XMPP Account"), _("Register New XMPP Account"), instructions, fields, _("Register"), G_CALLBACK(jabber_register_cb), _("Cancel"), G_CALLBACK(jabber_register_cancel_cb), purple_connection_get_account(js->gc), NULL, NULL, - "register-account", cbdata); + cbdata); else { char *title = registered?g_strdup_printf(_("Change Account Registration at %s"), from) :g_strdup_printf(_("Register New Account at %s"), from); - purple_request_fields_with_hint(js->gc, title, + purple_request_fields(js->gc, title, title, instructions, fields, registered?_("Change Registration"):_("Register"), G_CALLBACK(jabber_register_cb), _("Cancel"), G_CALLBACK(jabber_register_cancel_cb), purple_connection_get_account(js->gc), NULL, NULL, - "register-account", cbdata); + cbdata); g_free(title); } @@ -1731,12 +1731,12 @@ purple_request_field_set_required(field, TRUE); purple_request_field_group_add_field(group, field); - purple_request_fields_with_hint(js->gc, _("Change XMPP Password"), + purple_request_fields(js->gc, _("Change XMPP Password"), _("Change XMPP Password"), _("Please enter your new password"), fields, _("OK"), G_CALLBACK(jabber_password_change_cb), _("Cancel"), NULL, purple_connection_get_account(gc), NULL, NULL, - "account", js); + js); } GList *jabber_actions(PurplePlugin *plugin, gpointer context)