forked from enlightenment/efl
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
This commit is contained in:
parent
c1613811e7
commit
69ddd5b7f5
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue