rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=48073536d976368f9808c314d7cd680d9e50a35c

commit 48073536d976368f9808c314d7cd680d9e50a35c
Author: Vitalii Vorobiov <vi.vorob...@samsung.com>
Date:   Wed Jan 13 14:40:58 2016 +0200

    Revert "workspace: rename (live view) object created by demo"
    
    This reverts commit 36924c7e846c9e892764301b1effb2561f3921ef.
    
    Change-Id: Ie67cb5b586536ea6700ed0d722ecb0d1ce94e6a6
---
 src/bin/ui/workspace/workspace.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/bin/ui/workspace/workspace.c b/src/bin/ui/workspace/workspace.c
index 49d0712..a9d914f 100644
--- a/src/bin/ui/workspace/workspace.c
+++ b/src/bin/ui/workspace/workspace.c
@@ -100,7 +100,7 @@ struct _Ws_Smart_Data
    Evas_Object *groupedit;       /**< A groupedit smart object, \
                                    needed for view and edit style.*/
    Workspace_Mode active_mode;
-   Evas_Object *demo_object;
+   Evas_Object *active_mode_object;
 
    struct {
         Evas_Object *obj;        /**< Container that contains groupedit.*/
@@ -951,7 +951,7 @@ _mode_changed(void *data,
    if ((sd->active_mode == MODE_NORMAL)/* || (sd->active_mode == 
MODE_SEPARATE) */)
      evas_object_hide(sd->groupedit);
    else
-     evas_object_hide(sd->demo_object);
+     evas_object_hide(sd->active_mode_object);
 
    mode = elm_radio_state_value_get(obj);
 
@@ -980,10 +980,10 @@ _mode_changed(void *data,
             workspace_separate_mode_set(sd->obj, false);
             container_border_show(sd->container.obj);
 
-            if (!sd->demo_object)
-              sd->demo_object = demo_add(sd->scroller, sd->group);
-            evas_object_show(sd->demo_object);
-            container_content_set(sd->container.obj, sd->demo_object);
+            if (!sd->active_mode_object)
+              sd->active_mode_object = demo_add(sd->scroller, sd->group);
+            evas_object_show(sd->active_mode_object);
+            container_content_set(sd->container.obj, sd->active_mode_object);
 
             elm_object_part_content_unset(sd->panes, "right");
             evas_object_hide(sd->group_navigator);
@@ -1267,7 +1267,7 @@ _workspace_smart_del(Evas_Object *o)
    evas_object_del(sd->highlight.highlight);
    demo_group_del(sd->demo_group);
    gm_group_edit_object_unload(sd->group);
-   evas_object_del(sd->demo_object);
+   evas_object_del(sd->active_mode_object);
    _workspace_parent_sc->del(o);
 }
 

-- 


Reply via email to