Mercurial > pidgin.yaz
diff src/protocols/irc/irc.c @ 5498:cce2d7868c78
[gaim-migrate @ 5894]
Bye bye do_ask_dialog()! Mwahahahahhaha!
And wit -> with. What wit with the witty with wit comment, wit you jutht
thaw.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Fri, 23 May 2003 02:42:52 +0000 |
parents | 3e8487580024 |
children | f6650bfe4f51 |
line wrap: on
line diff
--- a/src/protocols/irc/irc.c Fri May 23 01:45:17 2003 +0000 +++ b/src/protocols/irc/irc.c Fri May 23 02:42:52 2003 +0000 @@ -997,7 +997,7 @@ } static void -irc_change_nick(const char *b, void *a) { +irc_change_nick(void *a, const char *b) { struct gaim_connection *gc = a; struct irc_data *id = gc->proto_data; char buf[IRC_BUF_LEN]; @@ -1437,7 +1437,14 @@ dccchat->port=atoi(chat_args[4]); g_snprintf(dccchat->nick, sizeof(dccchat->nick), nick); g_snprintf(ask, sizeof(ask), _("%s would like to establish a DCC chat"), nick); - do_ask_dialog(ask, _("This requires a direct connection to be established between the two computers. Messages sent will not pass through the IRC server"), dccchat, _("Connect"), dcc_chat_init, _("Cancel"), dcc_chat_cancel, my_protocol->handle, FALSE); + + gaim_request_action(gc, NULL, ask, + _("This requires a direct connection to be " + "established between the two computers. " + "Messages sent will not pass through the " + "IRC server"), 0, dccchat, 2, + _("Connect"), G_CALLBACK(dcc_chat_init), + _("Cancel"), G_CALLBACK(dcc_chat_cancel)); } else if (!g_ascii_strncasecmp(msg, "DCC SEND", 8)) { struct gaim_xfer *xfer;