hermet pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=9279d3a161b49d1b0106c92cf663e6b810cde42c

commit 9279d3a161b49d1b0106c92cf663e6b810cde42c
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Thu Apr 17 15:51:37 2014 +0900

    ctxpopup: dimiss ctxpopup if escape key is pressed.
    
    rahter than just hide of the ctxpopup, dimiss will be much better for 
usability.
    because press "Escape" is closed to "Cancel" meaning conceptually.
---
 src/lib/elc_ctxpopup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elc_ctxpopup.c b/src/lib/elc_ctxpopup.c
index a4ea92b..8afe88f 100644
--- a/src/lib/elc_ctxpopup.c
+++ b/src/lib/elc_ctxpopup.c
@@ -131,7 +131,7 @@ _key_action_move(Evas_Object *obj, const char *params)
 static Eina_Bool
 _key_action_escape(Evas_Object *obj, const char *params EINA_UNUSED)
 {
-   evas_object_hide(obj);
+   elm_ctxpopup_dismiss(obj);
    return EINA_TRUE;
 }
 

-- 


Reply via email to