Mercurial > pidgin
comparison src/protocols/toc/toc.c @ 9948:b13013595c08
[gaim-migrate @ 10844]
"This disables the default action and focus for certain dialogs which use
gaim_request_action such as the file transfer dialog ('do you wish to
receive this file'). Note that this will require the user to either click
the button of their choice or tab to the button of choice and press enter
or space.
Should fix Bug #1020523
I'll submit another patch to clean up the rest of the dialogs once I hear
back from the rest of the team as to how the desired behavior should be.
--dw
"
committer: Tailor Script <tailor@pidgin.im>
| author | Luke Schierer <lschiere@pidgin.im> |
|---|---|
| date | Sat, 04 Sep 2004 03:33:16 +0000 |
| parents | fb08a0973b3e |
| children | a9fb4493ae22 |
comparison
equal
deleted
inserted
replaced
| 9947:3726addc1c97 | 9948:b13013595c08 |
|---|---|
| 2097 (ft->message) ? ft->message : ""); | 2097 (ft->message) ? ft->message : ""); |
| 2098 } else { | 2098 } else { |
| 2099 g_snprintf(buf, sizeof(buf), _("%s requests you to send them a file"), ft->user); | 2099 g_snprintf(buf, sizeof(buf), _("%s requests you to send them a file"), ft->user); |
| 2100 } | 2100 } |
| 2101 | 2101 |
| 2102 gaim_request_accept_cancel(ft->gc, NULL, buf, NULL, 0, ft, | 2102 gaim_request_accept_cancel(ft->gc, NULL, buf, NULL, |
| 2103 GAIM_DEFAULT_ACTION_NONE, ft, | |
| 2103 G_CALLBACK(toc_accept_ft), | 2104 G_CALLBACK(toc_accept_ft), |
| 2104 G_CALLBACK(toc_reject_ft)); | 2105 G_CALLBACK(toc_reject_ft)); |
| 2105 } | 2106 } |
| 2106 #endif | 2107 #endif |
| 2107 | 2108 |
