comparison src/protocols/gg/gg.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 86ed8b2aa665
children 6faeeecab0dc
comparison
equal deleted inserted replaced
7062:86ed8b2aa665 7063:7fdac700deb1
1 /* 1 /*
2 * gaim - Gadu-Gadu Protocol Plugin 2 * gaim - Gadu-Gadu Protocol Plugin
3 * $Id: gg.c 7626 2003-09-30 06:43:17Z chipx86 $ 3 * $Id: gg.c 7627 2003-09-30 07:47:38Z chipx86 $
4 * 4 *
5 * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> 5 * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL>
6 * 6 *
7 * This program is free software; you can redistribute it and/or modify 7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by 8 * it under the terms of the GNU General Public License as published by
31 #include "notify.h" 31 #include "notify.h"
32 #include "proxy.h" 32 #include "proxy.h"
33 #include "prpl.h" 33 #include "prpl.h"
34 #include "server.h" 34 #include "server.h"
35 #include "util.h" 35 #include "util.h"
36
37 #warning Replace show_change_passwd and remove #include <gaim.h>
38 #include "gaim.h"
39 36
40 #define GG_CONNECT_STEPS 5 37 #define GG_CONNECT_STEPS 5
41 38
42 #define AGG_BUF_LEN 1024 39 #define AGG_BUF_LEN 1024
43 40
726 buf, NULL, NULL); 723 buf, NULL, NULL);
727 724
728 g_free(buf); 725 g_free(buf);
729 } 726 }
730 727
728 static void
729 change_pass(GaimConnection *gc)
730 {
731 gaim_account_request_change_password(gaim_connection_get_account(gc));
732 }
733
731 static void import_buddies_server_results(GaimConnection *gc, gchar *webdata) 734 static void import_buddies_server_results(GaimConnection *gc, gchar *webdata)
732 { 735 {
733 gchar *ptr; 736 gchar *ptr;
734 gchar **users_tbl; 737 gchar **users_tbl;
735 int i; 738 int i;
1197 m = g_list_append(m, NULL); 1200 m = g_list_append(m, NULL);
1198 #endif 1201 #endif
1199 1202
1200 pam = g_new0(struct proto_actions_menu, 1); 1203 pam = g_new0(struct proto_actions_menu, 1);
1201 pam->label = _("Change Password"); 1204 pam->label = _("Change Password");
1202 pam->callback = show_change_passwd; 1205 pam->callback = change_pass;
1203 pam->gc = gc; 1206 pam->gc = gc;
1204 m = g_list_append(m, pam); 1207 m = g_list_append(m, pam);
1205 1208
1206 m = g_list_append(m, NULL); 1209 m = g_list_append(m, NULL);
1207 1210