comparison src/protocols/toc/toc.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 ad445074d239
children 4fa8ca4f4259
comparison
equal deleted inserted replaced
5497:3c7748b24410 5498:cce2d7868c78
1986 ft->filename, size, sizes[index], (ft->message) ? "\n" : "", 1986 ft->filename, size, sizes[index], (ft->message) ? "\n" : "",
1987 (ft->message) ? ft->message : ""); 1987 (ft->message) ? ft->message : "");
1988 } else { 1988 } else {
1989 g_snprintf(buf, sizeof(buf), _("%s requests you to send them a file"), ft->user); 1989 g_snprintf(buf, sizeof(buf), _("%s requests you to send them a file"), ft->user);
1990 } 1990 }
1991 do_ask_dialog(buf, NULL, ft, _("Accept"), toc_accept_ft, _("Cancel"), toc_reject_ft, my_protocol->handle, FALSE); 1991
1992 gaim_request_accept_cancel(ft->gc, NULL, buf, NULL, 0, ft,
1993 G_CALLBACK(toc_accept_ft),
1994 G_CALLBACK(toc_reject_ft));
1992 } 1995 }
1993 1996
1994 static GaimPluginProtocolInfo prpl_info = 1997 static GaimPluginProtocolInfo prpl_info =
1995 { 1998 {
1996 GAIM_PROTO_TOC, 1999 GAIM_PROTO_TOC,