Mercurial > pidgin.yaz
comparison src/gtkdialogs.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 | f75c0d35e032 |
children | eda1572c788b |
comparison
equal
deleted
inserted
replaced
12602:317d1dfedeed | 12603:e4e47871c373 |
---|---|
863 "and %d other buddies from your buddy list. Do you " | 863 "and %d other buddies from your buddy list. Do you " |
864 "want to continue?", contact->totalsize - 1), | 864 "want to continue?", contact->totalsize - 1), |
865 buddy->name, contact->totalsize - 1); | 865 buddy->name, contact->totalsize - 1); |
866 | 866 |
867 gaim_request_action(contact, NULL, _("Remove Contact"), text, 0, contact, 2, | 867 gaim_request_action(contact, NULL, _("Remove Contact"), text, 0, contact, 2, |
868 _("Remove Contact"), G_CALLBACK(gaim_gtkdialogs_remove_contact_cb), | 868 _("_Remove Contact"), G_CALLBACK(gaim_gtkdialogs_remove_contact_cb), |
869 _("Cancel"), NULL); | 869 _("Cancel"), NULL); |
870 | 870 |
871 g_free(text); | 871 g_free(text); |
872 } | 872 } |
873 } | 873 } |
925 | 925 |
926 text = g_strdup_printf(_("You are about to remove the group %s and all its members from your buddy list. Do you want to continue?"), | 926 text = g_strdup_printf(_("You are about to remove the group %s and all its members from your buddy list. Do you want to continue?"), |
927 group->name); | 927 group->name); |
928 | 928 |
929 gaim_request_action(group, NULL, _("Remove Group"), text, 0, group, 2, | 929 gaim_request_action(group, NULL, _("Remove Group"), text, 0, group, 2, |
930 _("Remove Group"), G_CALLBACK(gaim_gtkdialogs_remove_group_cb), | 930 _("_Remove Group"), G_CALLBACK(gaim_gtkdialogs_remove_group_cb), |
931 _("Cancel"), NULL); | 931 _("Cancel"), NULL); |
932 | 932 |
933 g_free(text); | 933 g_free(text); |
934 } | 934 } |
935 | 935 |
967 | 967 |
968 text = g_strdup_printf(_("You are about to remove %s from your buddy list. Do you want to continue?"), | 968 text = g_strdup_printf(_("You are about to remove %s from your buddy list. Do you want to continue?"), |
969 buddy->name); | 969 buddy->name); |
970 | 970 |
971 gaim_request_action(buddy, NULL, _("Remove Buddy"), text, 0, buddy, 2, | 971 gaim_request_action(buddy, NULL, _("Remove Buddy"), text, 0, buddy, 2, |
972 _("Remove Buddy"), G_CALLBACK(gaim_gtkdialogs_remove_buddy_cb), | 972 _("_Remove Buddy"), G_CALLBACK(gaim_gtkdialogs_remove_buddy_cb), |
973 _("Cancel"), NULL); | 973 _("Cancel"), NULL); |
974 | 974 |
975 g_free(text); | 975 g_free(text); |
976 } | 976 } |
977 | 977 |
1009 name = gaim_chat_get_name(chat); | 1009 name = gaim_chat_get_name(chat); |
1010 text = g_strdup_printf(_("You are about to remove the chat %s from your buddy list. Do you want to continue?"), | 1010 text = g_strdup_printf(_("You are about to remove the chat %s from your buddy list. Do you want to continue?"), |
1011 name ? name : ""); | 1011 name ? name : ""); |
1012 | 1012 |
1013 gaim_request_action(chat, NULL, _("Remove Chat"), text, 0, chat, 2, | 1013 gaim_request_action(chat, NULL, _("Remove Chat"), text, 0, chat, 2, |
1014 _("Remove Chat"), G_CALLBACK(gaim_gtkdialogs_remove_chat_cb), | 1014 _("_Remove Chat"), G_CALLBACK(gaim_gtkdialogs_remove_chat_cb), |
1015 _("Cancel"), NULL); | 1015 _("Cancel"), NULL); |
1016 | 1016 |
1017 g_free(text); | 1017 g_free(text); |
1018 } | 1018 } |