Mercurial > pidgin
diff src/protocols/oscar/oscar.c @ 12603:e4e47871c373
[gaim-migrate @ 14938]
SF Patch #1377898 from Nathan Conrad
"This patch adds accelerator key mappings for buttons in
dialog boxes
created using gaim_request_action."
committer: Tailor Script <tailor@pidgin.im>
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Wed, 21 Dec 2005 21:18:25 +0000 |
| parents | e856f985a0b9 |
| children | d13810de5bb3 |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Wed Dec 21 20:59:16 2005 +0000 +++ b/src/protocols/oscar/oscar.c Wed Dec 21 21:18:25 2005 +0000 @@ -1580,7 +1580,7 @@ "may be considered a privacy risk. Do you " "wish to continue?"), 0, data, 2, - _("Connect"), G_CALLBACK(oscar_direct_im), + _("_Connect"), G_CALLBACK(oscar_direct_im), _("Cancel"), G_CALLBACK(oscar_cancel_direct_im)); g_free(buf); } @@ -4345,8 +4345,8 @@ "Images. Because your IP address will be " "revealed, this may be considered a privacy " "risk."), -- GAIM_DEFAULT_ACTION_NONE, d, 2, - _("Connect"), G_CALLBACK(accept_direct_im_request), + GAIM_DEFAULT_ACTION_NONE, d, 2, + _("_Connect"), G_CALLBACK(accept_direct_im_request), _("Cancel"), G_CALLBACK(destroy_direct_im_request)); /* FIXME: we should actually send a packet on cancel */ } @@ -4425,7 +4425,7 @@ gaim_request_action(gc, NULL, _("Request Authorization"), dialog_msg, 0, data, 2, - _("Request Authorization"), + _("_Request Authorization"), G_CALLBACK(gaim_auth_request_msgprompt), _("Cancel"), G_CALLBACK(gaim_auth_dontrequest)); @@ -4587,9 +4587,9 @@ gaim_request_action(gc, NULL, _("Authorization Request"), dialog_msg, GAIM_DEFAULT_ACTION_NONE, data, - 2, _("Authorize"), + 2, _("_Authorize"), G_CALLBACK(gaim_auth_grant), - _("Deny"), + _("_Deny"), G_CALLBACK(gaim_auth_dontgrant_msgprompt)); g_free(dialog_msg); } @@ -4660,7 +4660,7 @@ "to your buddy list?"), GAIM_DEFAULT_ACTION_NONE, data, 2, _("Add"), G_CALLBACK(gaim_icq_buddyadd), - _("Decline"), G_CALLBACK(oscar_free_name_data)); + _("_Decline"), G_CALLBACK(oscar_free_name_data)); g_free(message); } g_strfreev(text); @@ -7277,8 +7277,8 @@ gaim_request_action(gc, NULL, _("Authorization Request"), dialog_msg, GAIM_DEFAULT_ACTION_NONE, data, 2, - _("Authorize"), G_CALLBACK(gaim_auth_grant), - _("Deny"), G_CALLBACK(gaim_auth_dontgrant_msgprompt)); + _("_Authorize"), G_CALLBACK(gaim_auth_grant), + _("_Deny"), G_CALLBACK(gaim_auth_dontgrant_msgprompt)); g_free(dialog_msg); g_free(nombre);
