Mercurial > pidgin
changeset 5481:084147a0d9e4
[gaim-migrate @ 5877]
This is the first thing to use the new request API.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 22 May 2003 10:21:55 +0000 |
parents | f19620d8694f |
children | a41149ee8a29 |
files | src/protocols/msn/msn.c |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/msn/msn.c Thu May 22 10:21:43 2003 +0000 +++ b/src/protocols/msn/msn.c Thu May 22 10:21:55 2003 +0000 @@ -43,7 +43,7 @@ } MsnMobileData; static void -msn_act_id(gpointer data, char *entry) +msn_act_id(const char *entry, void *data) { struct gaim_connection *gc = data; MsnSession *session = gc->proto_data; @@ -159,8 +159,10 @@ static void msn_show_set_friendly_name(struct gaim_connection *gc) { - do_prompt_dialog(_("Set Friendly Name:"), gc->displayname, - gc, msn_act_id, NULL); + gaim_request_input(gc, NULL, _("Set your friendly name."), NULL, + gc->displayname, FALSE, + _("OK"), G_CALLBACK(msn_act_id), + _("Cancel"), NULL, gc); } static void