yakov pushed a commit to branch master.

http://git.enlightenment.org/tools/erigo.git/commit/?id=5eaae08eecb13268610261da61296c179e32b2a7

commit 5eaae08eecb13268610261da61296c179e32b2a7
Author: Yakov Goldberg <yako...@samsung.com>
Date:   Mon Jan 4 19:43:04 2016 +0200

    Update toolbar's items which should be separators
    
    Change layout json file and logic code
    according changes.
---
 src/bin/gui/egui_layout.json | 4 ++--
 src/bin/gui/egui_logic.c     | 4 ----
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/bin/gui/egui_layout.json b/src/bin/gui/egui_layout.json
index ee16f39..01c5b79 100644
--- a/src/bin/gui/egui_layout.json
+++ b/src/bin/gui/egui_layout.json
@@ -949,7 +949,7 @@
             },
             "toolbar_separator1_it":
             {
-               "type":"regular",
+               "type":"separator",
                "public":true,
                "icon":null,
                "label":null,
@@ -973,7 +973,7 @@
             },
             "toolbar_separator2_it":
             {
-               "type":"regular",
+               "type":"separator",
                "public":true,
                "icon":null,
                "label":null,
diff --git a/src/bin/gui/egui_logic.c b/src/bin/gui/egui_logic.c
index 210490b..f3b4f92 100644
--- a/src/bin/gui/egui_logic.c
+++ b/src/bin/gui/egui_logic.c
@@ -1011,13 +1011,9 @@ egui_start(const char *filename)
    elm_object_item_data_set(it, (void *) ITEM_CLOSE);
    elm_object_item_disabled_set(it, EINA_TRUE);
 
-   
elm_toolbar_item_separator_set(g_main_wdgs->main_win->toolbar_separator1_it, 
EINA_TRUE);
-
    elm_object_item_data_set(g_main_wdgs->main_win->toolbar_rm_it, (void *) 
(intptr_t) RSRC_MNGR);
    elm_object_item_data_set(g_main_wdgs->main_win->toolbar_settings_it, (void 
*) (intptr_t) SETTINGS_WIN);
 
-   
elm_toolbar_item_separator_set(g_main_wdgs->main_win->toolbar_separator2_it, 
EINA_TRUE);
-
    elm_object_item_data_set(g_main_wdgs->main_win->toolbar_undo_it, (void *) 
(intptr_t) CTX_UNDO);
    elm_object_item_disabled_set(g_main_wdgs->main_win->toolbar_undo_it, 
EINA_TRUE);
    elm_object_item_data_set(g_main_wdgs->main_win->toolbar_redo_it, (void *) 
(intptr_t) CTX_REDO);

-- 


Reply via email to