From f9e2aba1d43a6222156ca82ecf7ff69d822e72fb Mon Sep 17 00:00:00 2001 From: Chidambar Zinnoury Date: Tue, 26 Jun 2012 23:23:11 +0000 Subject: [PATCH] =?UTF-8?q?=20e=20dialogs:=20some=20more=20Yes=20=E2=86=92?= =?UTF-8?q?=20action=20label=20updates.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SVN revision: 72903 --- src/bin/e_actions.c | 14 +++++++------- src/bin/e_module.c | 2 +- src/bin/e_shelf.c | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/bin/e_actions.c b/src/bin/e_actions.c index 15d579721..4c98c003d 100644 --- a/src/bin/e_actions.c +++ b/src/bin/e_actions.c @@ -377,7 +377,7 @@ ACT_FN_GO(window_kill, __UNUSED__) _("Are you sure you want to kill this window?")); e_dialog_text_set(kill_dialog, _(dialog_text)); e_dialog_icon_set(kill_dialog, "application-exit", 64); - e_dialog_button_add(kill_dialog, _("Yes"), NULL, + e_dialog_button_add(kill_dialog, _("Kill"), NULL, _e_actions_cb_kill_dialog_ok, obj); e_dialog_button_add(kill_dialog, _("No"), NULL, _e_actions_cb_kill_dialog_cancel, NULL); @@ -1942,7 +1942,7 @@ ACT_FN_GO(exit, ) "
" "Are you sure you want to exit?")); e_dialog_icon_set(exit_dialog, "application-exit", 64); - e_dialog_button_add(exit_dialog, _("Yes"), NULL, + e_dialog_button_add(exit_dialog, _("Exit"), NULL, _e_actions_cb_exit_dialog_ok, NULL); e_dialog_button_add(exit_dialog, _("No"), NULL, _e_actions_cb_exit_dialog_cancel, NULL); @@ -2039,7 +2039,7 @@ ACT_FN_GO(logout, ) "
" "Are you sure you want to do this?")); e_dialog_icon_set(logout_dialog, "system-log-out", 64); - e_dialog_button_add(logout_dialog, _("Yes"), NULL, + e_dialog_button_add(logout_dialog, _("Log out"), NULL, _e_actions_cb_logout_dialog_ok, NULL); e_dialog_button_add(logout_dialog, _("No"), NULL, _e_actions_cb_logout_dialog_cancel, NULL); @@ -2102,7 +2102,7 @@ ACT_FN_GO(halt, ) "
" "Are you sure you want to shut down?")); e_dialog_icon_set(halt_dialog, "system-shutdown", 64); - e_dialog_button_add(halt_dialog, _("Yes"), NULL, + e_dialog_button_add(halt_dialog, _("Power off"), NULL, _e_actions_cb_halt_dialog_ok, NULL); e_dialog_button_add(halt_dialog, _("No"), NULL, _e_actions_cb_halt_dialog_cancel, NULL); @@ -2165,7 +2165,7 @@ ACT_FN_GO(reboot, ) "
" "Are you sure you want to restart it?")); e_dialog_icon_set(reboot_dialog, "system-restart", 64); - e_dialog_button_add(reboot_dialog, _("Yes"), NULL, + e_dialog_button_add(reboot_dialog, _("Reboot"), NULL, _e_actions_cb_reboot_dialog_ok, NULL); e_dialog_button_add(reboot_dialog, _("No"), NULL, _e_actions_cb_reboot_dialog_cancel, NULL); @@ -2233,7 +2233,7 @@ ACT_FN_GO(suspend, ) "
" "Are you sure you want to suspend?")); e_dialog_icon_set(suspend_dialog, "system-suspend", 64); - e_dialog_button_add(suspend_dialog, _("Yes"), NULL, + e_dialog_button_add(suspend_dialog, _("Suspend"), NULL, _e_actions_cb_suspend_dialog_ok, NULL); e_dialog_button_add(suspend_dialog, _("No"), NULL, _e_actions_cb_suspend_dialog_cancel, NULL); @@ -2301,7 +2301,7 @@ ACT_FN_GO(hibernate, ) "
" "Are you sure you want to suspend to disk?")); e_dialog_icon_set(hibernate_dialog, "system-suspend-hibernate", 64); - e_dialog_button_add(hibernate_dialog, _("Yes"), NULL, + e_dialog_button_add(hibernate_dialog, _("Hibernate"), NULL, _e_actions_cb_hibernate_dialog_ok, NULL); e_dialog_button_add(hibernate_dialog, _("No"), NULL, _e_actions_cb_hibernate_dialog_cancel, NULL); diff --git a/src/bin/e_module.c b/src/bin/e_module.c index a65834b32..4c9d30639 100644 --- a/src/bin/e_module.c +++ b/src/bin/e_module.c @@ -515,7 +515,7 @@ _e_module_dialog_disable_show(const char *title, const char *body, E_Module *m) e_dialog_title_set(dia, title); e_dialog_icon_set(dia, "enlightenment", 64); e_dialog_text_set(dia, buf); - e_dialog_button_add(dia, _("Yes"), NULL, _e_module_cb_dialog_disable, m); + e_dialog_button_add(dia, _("Unload"), NULL, _e_module_cb_dialog_disable, m); e_dialog_button_add(dia, _("No"), NULL, NULL, NULL); e_win_centered_set(dia->win, 1); e_dialog_show(dia); diff --git a/src/bin/e_shelf.c b/src/bin/e_shelf.c index cb359c7e4..994f4974e 100644 --- a/src/bin/e_shelf.c +++ b/src/bin/e_shelf.c @@ -1366,7 +1366,7 @@ _e_shelf_cb_menu_delete(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUS e_confirm_dialog_show(_("Are you sure you want to delete this shelf?"), "enlightenment", _("You requested to delete this shelf.
" "
" - "Are you sure you want to delete it?"), NULL, NULL, + "Are you sure you want to delete it?"), _("Delete"), _("Keep"), _e_shelf_cb_confirm_dialog_yes, NULL, data, NULL, _e_shelf_cb_confirm_dialog_destroy, data); }