comparison src/protocols/oscar/oscar.c @ 7063:7fdac700deb1

[gaim-migrate @ 7627] show_change_pass, or whatever it was called, is now core/UI split. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 30 Sep 2003 07:47:38 +0000
parents 9946001989a3
children 71e0da45abe6
comparison
equal deleted inserted replaced
7062:86ed8b2aa665 7063:7fdac700deb1
6265 _("Cancel"), NULL, 6265 _("Cancel"), NULL,
6266 gc); 6266 gc);
6267 } 6267 }
6268 #endif 6268 #endif
6269 6269
6270 static void oscar_change_pass(GaimConnection *gc)
6271 {
6272 gaim_account_request_change_password(gaim_connection_get_account(gc));
6273 }
6274
6270 static void oscar_show_chpassurl(GaimConnection *gc) 6275 static void oscar_show_chpassurl(GaimConnection *gc)
6271 { 6276 {
6272 struct oscar_data *od = gc->proto_data; 6277 struct oscar_data *od = gc->proto_data;
6273 gchar *substituted = gaim_strreplace(od->sess->authinfo->chpassurl, "%s", gaim_account_get_username(gaim_connection_get_account(gc))); 6278 gchar *substituted = gaim_strreplace(od->sess->authinfo->chpassurl, "%s", gaim_account_get_username(gaim_connection_get_account(gc)));
6274 gaim_notify_uri(gc, substituted); 6279 gaim_notify_uri(gc, substituted);
6333 m = g_list_append(m, pam); 6338 m = g_list_append(m, pam);
6334 #endif 6339 #endif
6335 6340
6336 pam = g_new0(struct proto_actions_menu, 1); 6341 pam = g_new0(struct proto_actions_menu, 1);
6337 pam->label = _("Change Password"); 6342 pam->label = _("Change Password");
6338 pam->callback = show_change_passwd; 6343 pam->callback = oscar_change_pass;
6339 pam->gc = gc; 6344 pam->gc = gc;
6340 m = g_list_append(m, pam); 6345 m = g_list_append(m, pam);
6341 6346
6342 if (od->sess->authinfo->chpassurl) { 6347 if (od->sess->authinfo->chpassurl) {
6343 pam = g_new0(struct proto_actions_menu, 1); 6348 pam = g_new0(struct proto_actions_menu, 1);