rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=c4b8397175a7cc0f9e5073fe67c6758fc4a836b2
commit c4b8397175a7cc0f9e5073fe67c6758fc4a836b2 Author: Andrii Kroitor <[email protected]> Date: Wed Jul 6 12:17:08 2016 +0300 workspace: disable shortcuts when code panes are resized --- src/bin/ui/workspace/workspace.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/bin/ui/workspace/workspace.c b/src/bin/ui/workspace/workspace.c index 2325d82..76a3f82 100644 --- a/src/bin/ui/workspace/workspace.c +++ b/src/bin/ui/workspace/workspace.c @@ -1179,6 +1179,16 @@ _panes_h_unpress(void *data, Workspace_Data *wd = data; wd->code.size = elm_panes_content_right_size_get(obj); + + shortcuts_object_check_pop(obj); +} + +static void +_panes_h_press(void *data __UNUSED__, + Evas_Object *obj, + void *event_info __UNUSED__) +{ + shortcuts_object_push(obj); } Evas_Object * @@ -1318,6 +1328,7 @@ workspace_add(Evas_Object *parent, Group *group) elm_object_style_set(wd->panes_h, "pan_hide"); elm_panes_horizontal_set(wd->panes_h, true); elm_panes_content_right_size_set(wd->panes_h, 0); /* set the default min size */ + evas_object_smart_callback_add(wd->panes_h, "press", _panes_h_press, wd); evas_object_smart_callback_add(wd->panes_h, "unpress", _panes_h_unpress, wd); elm_layout_content_set(wd->layout, NULL, wd->panes_h); --
