Mercurial > pidgin.yaz
comparison libpurple/protocols/jabber/jabber.c @ 16442:08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Thu, 26 Apr 2007 12:25:49 +0000 |
parents | 547c76fe2e7a |
children | 3bd360f26a9e bf77cf06b082 |
comparison
equal
deleted
inserted
replaced
16438:a46a0362dc34 | 16442:08db93bbd798 |
---|---|
869 "to register your new account.")); | 869 "to register your new account.")); |
870 | 870 |
871 purple_request_fields(js->gc, _("Register New Jabber Account"), | 871 purple_request_fields(js->gc, _("Register New Jabber Account"), |
872 _("Register New Jabber Account"), instructions, fields, | 872 _("Register New Jabber Account"), instructions, fields, |
873 _("Register"), G_CALLBACK(jabber_register_cb), | 873 _("Register"), G_CALLBACK(jabber_register_cb), |
874 _("Cancel"), G_CALLBACK(jabber_register_cancel_cb), js); | 874 _("Cancel"), G_CALLBACK(jabber_register_cancel_cb), |
875 purple_connection_get_account(js->gc), NULL, NULL, | |
876 js); | |
875 | 877 |
876 g_free(instructions); | 878 g_free(instructions); |
877 } | 879 } |
878 } | 880 } |
879 | 881 |
1364 purple_request_field_group_add_field(group, field); | 1366 purple_request_field_group_add_field(group, field); |
1365 | 1367 |
1366 purple_request_fields(js->gc, _("Change Jabber Password"), | 1368 purple_request_fields(js->gc, _("Change Jabber Password"), |
1367 _("Change Jabber Password"), _("Please enter your new password"), | 1369 _("Change Jabber Password"), _("Please enter your new password"), |
1368 fields, _("OK"), G_CALLBACK(jabber_password_change_cb), | 1370 fields, _("OK"), G_CALLBACK(jabber_password_change_cb), |
1369 _("Cancel"), NULL, js); | 1371 _("Cancel"), NULL, |
1372 purple_connection_get_account(gc), NULL, NULL, | |
1373 js); | |
1370 } | 1374 } |
1371 | 1375 |
1372 GList *jabber_actions(PurplePlugin *plugin, gpointer context) | 1376 GList *jabber_actions(PurplePlugin *plugin, gpointer context) |
1373 { | 1377 { |
1374 GList *m = NULL; | 1378 GList *m = NULL; |