Mercurial > pidgin
diff src/protocols/yahoo/yahoo.c @ 5493:3e8487580024
[gaim-migrate @ 5889]
Everything is now moved to the new gaim_request_input().
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 22 May 2003 20:50:30 +0000 |
parents | ad445074d239 |
children | cce2d7868c78 |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c Thu May 22 20:50:05 2003 +0000 +++ b/src/protocols/yahoo/yahoo.c Thu May 22 20:50:30 2003 +0000 @@ -56,7 +56,7 @@ /* for win32 compatability */ G_MODULE_IMPORT GSList *connections; -#define YAHOO_DEBUG +/* #define YAHOO_DEBUG */ #define USEROPT_MAIL 0 @@ -1184,7 +1184,7 @@ return m; } -static void yahoo_act_id(gpointer data, char *entry) +static void yahoo_act_id(const char *entry, gpointer data) { struct gaim_connection *gc = data; struct yahoo_data *yd = gc->proto_data; @@ -1199,7 +1199,10 @@ static void yahoo_show_act_id(struct gaim_connection *gc) { - do_prompt_dialog("Activate which ID:", gc->displayname, gc, yahoo_act_id, NULL); + gaim_request_input(gc, NULL, _("Active which ID?"), NULL, + gc->displayname, FALSE, + _("OK"), G_CALLBACK(yahoo_act_id), + _("Cancel"), NULL, gc); } static GList *yahoo_actions(struct gaim_connection *gc) {