comparison src/protocols/gg/gg.c @ 7062:86ed8b2aa665

[gaim-migrate @ 7626] g_show_info_text() is gone! Mwahahaha. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 30 Sep 2003 06:43:17 +0000
parents 083d1e4a9c78
children 7fdac700deb1
comparison
equal deleted inserted replaced
7061:80fd120e180b 7062:86ed8b2aa665
1 /* 1 /*
2 * gaim - Gadu-Gadu Protocol Plugin 2 * gaim - Gadu-Gadu Protocol Plugin
3 * $Id: gg.c 7538 2003-09-27 19:17:21Z thekingant $ 3 * $Id: gg.c 7626 2003-09-30 06:43:17Z 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
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 36
37 /* XXX for g_show_info_text(), WEBSITE, and stuff */ 37 #warning Replace show_change_passwd and remove #include <gaim.h>
38 #include "gaim.h" 38 #include "gaim.h"
39 39
40 #define GG_CONNECT_STEPS 5 40 #define GG_CONNECT_STEPS 5
41 41
42 #define AGG_BUF_LEN 1024 42 #define AGG_BUF_LEN 1024
720 j++; 720 j++;
721 } 721 }
722 722
723 g_strfreev(webdata_tbl); 723 g_strfreev(webdata_tbl);
724 724
725 g_show_info_text(gc, NULL, 2, buf, NULL); 725 gaim_notify_formatted(gc, NULL, _("Buddy Information"), NULL,
726 buf, NULL, NULL);
726 727
727 g_free(buf); 728 g_free(buf);
728 } 729 }
729 730
730 static void import_buddies_server_results(GaimConnection *gc, gchar *webdata) 731 static void import_buddies_server_results(GaimConnection *gc, gchar *webdata)
1184 static GList *agg_actions(GaimConnection *gc) 1185 static GList *agg_actions(GaimConnection *gc)
1185 { 1186 {
1186 GList *m = NULL; 1187 GList *m = NULL;
1187 struct proto_actions_menu *pam; 1188 struct proto_actions_menu *pam;
1188 1189
1190 #if 0
1189 pam = g_new0(struct proto_actions_menu, 1); 1191 pam = g_new0(struct proto_actions_menu, 1);
1190 pam->label = _("Directory Search"); 1192 pam->label = _("Directory Search");
1191 pam->callback = show_find_info; 1193 pam->callback = show_find_info;
1192 pam->gc = gc; 1194 pam->gc = gc;
1193 m = g_list_append(m, pam); 1195 m = g_list_append(m, pam);
1194 1196
1195 m = g_list_append(m, NULL); 1197 m = g_list_append(m, NULL);
1198 #endif
1196 1199
1197 pam = g_new0(struct proto_actions_menu, 1); 1200 pam = g_new0(struct proto_actions_menu, 1);
1198 pam->label = _("Change Password"); 1201 pam->label = _("Change Password");
1199 pam->callback = show_change_passwd; 1202 pam->callback = show_change_passwd;
1200 pam->gc = gc; 1203 pam->gc = gc;