rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=572e9156429ed6a5e422aa9de129106f19ce0cae
commit 572e9156429ed6a5e422aa9de129106f19ce0cae Author: Mykyta Biliavskyi <[email protected]> Date: Fri Jul 8 18:16:56 2016 +0300 tabs: correct clean tabs. On clean all tabs calls only _del_tab, but that no enough for true closing group tab. Because inside _del_tab doesn't process case for currently opened tab. --- src/bin/ui/tabs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/ui/tabs.c b/src/bin/ui/tabs.c index 6c6cdbd..718cac9 100644 --- a/src/bin/ui/tabs.c +++ b/src/bin/ui/tabs.c @@ -105,8 +105,8 @@ _content_set(void *data, evas_object_hide(ap.property.demo); return; } - - elm_object_part_content_set(ap.panes.left_ver, "right", workspace_group_navigator_get(item->content)); + else + elm_object_part_content_set(ap.panes.left_ver, "right", workspace_group_navigator_get(item->content)); tabs.current_workspace = item->content; tabs.current_group = item->group; if (ap.project) @@ -190,7 +190,7 @@ _del_tab(Tabs_Item *item) history_del(item->group->history); item->group->history = NULL; item->group->current_selected = NULL; - evas_object_smart_callback_call(ap.win, SIGNAL_TAB_CLOSE, item->group); + item->group = NULL; } free(item); } @@ -1251,7 +1251,7 @@ tabs_clean(void) EINA_LIST_FOREACH_SAFE(tabs.items, l, l_n, item) { if (!item->group) continue; - _del_tab(item); + _tab_close(item, item->toolbar_item, NULL, NULL); } tabs.selected = NULL; } --
