rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=60c0dc1269bbc63a525f21cdf23a9883bfe109df

commit 60c0dc1269bbc63a525f21cdf23a9883bfe109df
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Thu May 12 10:34:34 2016 +0300

    tabs: set the dummy group navi, when the real is hiden
    
    Change-Id: If21e499558423d39c441acb4e548429d3c16d937
---
 src/bin/ui/tabs.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/bin/ui/tabs.c b/src/bin/ui/tabs.c
index 6fe3346..ccf2677 100644
--- a/src/bin/ui/tabs.c
+++ b/src/bin/ui/tabs.c
@@ -105,11 +105,15 @@ _content_set(void *data,
    elm_toolbar_item_selected_set(tabs.selected, false);
    tabs.selected = toolbar_item;
 
+   _content_unset();
    if (item)
      {
-        _content_unset();
         elm_layout_content_set(tabs.layout, NULL, item->content);
-        if (!item->group) return;
+        if (!item->group)
+          {
+             elm_object_part_content_set(ap.panes.left_ver, "right", 
workspace_group_navigator_get(NULL));
+             return;
+          }
 
         elm_object_part_content_set(ap.panes.left_ver, "right", 
workspace_group_navigator_get(item->content));
         tabs.current_workspace = item->content;
@@ -130,9 +134,10 @@ _content_set(void *data,
           evas_object_smart_callback_call(ap.win, 
SIGNAL_DIFFERENT_TAB_CLICKED, NULL);
      }
    else
-          {
+     {
         evas_object_smart_callback_call(ap.win, SIGNAL_TAB_CHANGED, NULL);
 
+        elm_layout_content_set(ap.panes.left_ver, "right", 
workspace_group_navigator_get(NULL));
         tabs.current_workspace = NULL;
         tabs.current_group = NULL;
         if (ap.project)
@@ -1040,8 +1045,6 @@ tabs_menu_tab_open(Tabs_Menu view)
 {
    assert(tabs.layout != NULL);
 
-   _content_unset();
-
    switch(view)
      {
       case TAB_IMAGE_EDITOR:

-- 


Reply via email to