rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=4819913d390832e360b7c3e93d34b7447790d359

commit 4819913d390832e360b7c3e93d34b7447790d359
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Mon May 16 14:39:28 2016 +0300

    eflete: move the property memeber to separatly struct
    
    Another property objects will be saved as independent, and used in
    resource managers.
    
    Change-Id: I3bee36338e5fb5546f0aa3f8dd0eb5cf8c5e2df1
---
 src/bin/eflete.h         | 5 ++++-
 src/bin/ui/main_window.c | 4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/bin/eflete.h b/src/bin/eflete.h
index 1342830..3982626 100644
--- a/src/bin/eflete.h
+++ b/src/bin/eflete.h
@@ -98,9 +98,12 @@ struct _App_Data
       Evas_Object *right;
       Evas_Object *left_ver;
    } panes;
+   struct {
+      Evas_Object *group;
+   } property;
 
    struct {
-      Evas_Object *right_top, *history, *property;
+      Evas_Object *right_top, *history;
       Elm_Object_Item *item_history, *item_property;
    } block;
    Project *project;
diff --git a/src/bin/ui/main_window.c b/src/bin/ui/main_window.c
index f8a2ff5..5b0bff1 100644
--- a/src/bin/ui/main_window.c
+++ b/src/bin/ui/main_window.c
@@ -189,8 +189,8 @@ ui_main_window_add(void)
    evas_object_smart_callback_add(ap.win, SIGNAL_TAB_CHANGED, _show_history, 
NULL);
    evas_object_smart_callback_add(ap.win, SIGNAL_SHORTCUT_QUIT, _on_done, 
NULL);
 
-   ap.block.property = ui_property_add(ap.win);
-   elm_layout_content_set(ap.block.right_top, "elm.swallow.property", 
ap.block.property);
+   ap.property.group = ui_property_add(ap.win);
+   elm_layout_content_set(ap.block.right_top, "elm.swallow.property", 
ap.property.group);
    ap.block.history = history_ui_add();
    elm_layout_content_set(ap.block.right_top, "elm.swallow.history", 
ap.block.history);
    elm_object_part_content_set(ap.panes.right, "right", ap.block.right_top);

-- 


Reply via email to