Mercurial > pidgin.yaz
diff src/ft.c @ 9976:f4ff7d2b9b2c
[gaim-migrate @ 10887]
Dave West fixed a few things from his patch to remove the
default action for certain dialogs that pop-up
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 08 Sep 2004 03:59:17 +0000 |
parents | 426b623ffe16 |
children | 0aca774bef87 |
line wrap: on
line diff
--- a/src/ft.c Wed Sep 08 03:33:37 2004 +0000 +++ b/src/ft.c Wed Sep 08 03:59:17 2004 +0000 @@ -264,9 +264,10 @@ serv_got_im(gaim_account_get_connection(xfer->account), xfer->who, xfer->message, 0, time(NULL)); - gaim_request_accept_cancel(xfer, NULL, buf, NULL, 0, xfer, - G_CALLBACK(gaim_xfer_choose_file), - G_CALLBACK(cancel_recv_cb)); + gaim_request_accept_cancel(xfer, NULL, buf, NULL, + GAIM_DEFAULT_ACTION_NONE, xfer, + G_CALLBACK(gaim_xfer_choose_file), + G_CALLBACK(cancel_recv_cb)); g_free(buf); } else @@ -303,9 +304,10 @@ "Remote host: %s\nRemote port: %d"), gaim_xfer_get_remote_ip(xfer), gaim_xfer_get_remote_port(xfer)); - gaim_request_accept_cancel(xfer, NULL, buf, buf2, 0, xfer, - G_CALLBACK(ask_accept_ok), - G_CALLBACK(ask_accept_cancel)); + gaim_request_accept_cancel(xfer, NULL, buf, buf2, + GAIM_DEFAULT_ACTION_NONE, xfer, + G_CALLBACK(ask_accept_ok), + G_CALLBACK(ask_accept_cancel)); g_free(buf); g_free(buf2); }