summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-11-18 11:17:14 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-11-18 11:46:37 -0500
commitb4a3dc1f885d8b21f7059b106db084765387c5b5 (patch)
tree121b76de63e0c45eca92f1fa517c721d748a4f03
parent084aeebaa7d0182b1180498fe5a93b68af862e9e (diff)
make confirm dialogs autoselect the confirm option
esc is already used for cancel, having an easier confirm makes sense (tm)
-rw-r--r--src/bin/e_confirm_dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_confirm_dialog.c b/src/bin/e_confirm_dialog.c
index 21f5f675c..67540cd37 100644
--- a/src/bin/e_confirm_dialog.c
+++ b/src/bin/e_confirm_dialog.c
@@ -52,7 +52,7 @@ e_confirm_dialog_show(const char *title, const char *icon, const char *text,
52 e_dialog_button_add(dia, !button_text ? _("Yes") : button_text, NULL, _e_confirm_dialog_yes, cd); 52 e_dialog_button_add(dia, !button_text ? _("Yes") : button_text, NULL, _e_confirm_dialog_yes, cd);
53 e_dialog_button_add(dia, !button2_text ? _("No") : button2_text, NULL, _e_confirm_dialog_no, cd); 53 e_dialog_button_add(dia, !button2_text ? _("No") : button2_text, NULL, _e_confirm_dialog_no, cd);
54 54
55 e_dialog_button_focus_num(dia, 1); 55 e_dialog_button_focus_num(dia, 0);
56 elm_win_center(dia->win, 1, 1); 56 elm_win_center(dia->win, 1, 1);
57 e_dialog_show(dia); 57 e_dialog_show(dia);
58 58