projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b22746e
)
ctxpopup: dimiss ctxpopup if escape key is pressed.
author
ChunEon Park
<hermet@hermet.pe.kr>
Thu, 17 Apr 2014 06:51:37 +0000
(15:51 +0900)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Thu, 17 Apr 2014 06:51:37 +0000
(15:51 +0900)
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
patch
|
blob
|
history
diff --git
a/src/lib/elc_ctxpopup.c
b/src/lib/elc_ctxpopup.c
index a4ea92b170a1c1f48b4bac14e7af6d7e32a14127..8afe88fbdf20c8082ba5a00d780a69c0791e9068 100644
(file)
--- 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)
{
- e
vas_object_hide
(obj);
+ e
lm_ctxpopup_dismiss
(obj);
return EINA_TRUE;
}