discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=506317e4babe1cfbe4411b2f5339bc63440ee1c4

commit 506317e4babe1cfbe4411b2f5339bc63440ee1c4
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Nov 18 11:17:14 2016 -0500

    make confirm dialogs autoselect the confirm option
    
    esc is already used for cancel, having an easier confirm makes sense (tm)
---
 src/bin/e_confirm_dialog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_confirm_dialog.c b/src/bin/e_confirm_dialog.c
index 21f5f67..67540cd 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,
    e_dialog_button_add(dia, !button_text ? _("Yes") : button_text, NULL, 
_e_confirm_dialog_yes, cd);
    e_dialog_button_add(dia, !button2_text ? _("No") : button2_text, NULL, 
_e_confirm_dialog_no, cd);
 
-   e_dialog_button_focus_num(dia, 1);
+   e_dialog_button_focus_num(dia, 0);
    elm_win_center(dia->win, 1, 1);
    e_dialog_show(dia);
 

-- 


Reply via email to