hermet pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=78bafbba452544eee8e722c0e84a9155da4af043
commit 78bafbba452544eee8e722c0e84a9155da4af043 Author: Jaeun Choi <[email protected]> Date: Fri Apr 18 11:33:43 2014 +0900 multibuttonentry: change key up callback into key down callback for consistency Summary: Every elementary widget's action is triggered by key down event except multibuttonentry. There's no reason why focus move and deletion should happen on key up in multibuttonentry. This patch modifies _layout_key_up_cb into _layout_key_down_cb. Test Plan: None Reviewers: raster, Hermet, seoz, jpeg Reviewed By: Hermet Differential Revision: https://phab.enlightenment.org/D755 --- src/lib/elc_multibuttonentry.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/elc_multibuttonentry.c b/src/lib/elc_multibuttonentry.c index c2b75e3..226fb80 100644 --- a/src/lib/elc_multibuttonentry.c +++ b/src/lib/elc_multibuttonentry.c @@ -973,7 +973,7 @@ _entry_clicked_cb(void *data, } static void -_layout_key_up_cb(void *data, +_layout_key_down_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info) @@ -1056,8 +1056,8 @@ _callbacks_register(Evas_Object *obj) (obj, "mouse,clicked,1", "*", _mouse_clicked_signal_cb, sd); evas_object_event_callback_add - (wd->resize_obj, EVAS_CALLBACK_KEY_UP, - _layout_key_up_cb, obj); + (wd->resize_obj, EVAS_CALLBACK_KEY_DOWN, + _layout_key_down_cb, obj); evas_object_event_callback_add (sd->box, EVAS_CALLBACK_RESIZE, _box_resize_cb, obj); --
