rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=872745ae3778b6e9743cc75a2d98ee83dd11c0b6

commit 872745ae3778b6e9743cc75a2d98ee83dd11c0b6
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Wed Jan 13 11:21:02 2016 +0200

    group_navigator: disable group navigator if alias opened
    
    Change-Id: I0469423185b87f38ef32b4ad8e5bac007ff8b59e
---
 src/bin/ui/group_navigator.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/bin/ui/group_navigator.c b/src/bin/ui/group_navigator.c
index 0c35f0e..f835f61 100644
--- a/src/bin/ui/group_navigator.c
+++ b/src/bin/ui/group_navigator.c
@@ -1554,7 +1554,6 @@ group_navigator_add(Group *group)
                                                     ELM_GENLIST_ITEM_TREE,
                                                     NULL,
                                                     NULL);
-   elm_genlist_item_expanded_set(pl->parts_caption_item, true);
    pl->programs_caption_item = elm_genlist_item_append(pl->genlist,
                                                     pl->itc_caption,
                                                     &group->programs,
@@ -1597,6 +1596,10 @@ group_navigator_add(Group *group)
    elm_menu_item_icon_name_set(menu_item, "type_spacer");
 
    pl->name_validator = elm_validator_regexp_new(PART_NAME_REGEX, NULL);
+   if (group->main_group)
+     elm_object_disabled_set(pl->layout, true);
+   else
+     elm_genlist_item_expanded_set(pl->parts_caption_item, true);
 
    TODO("Add deletion callback and free resources");
    return pl->layout;

-- 


Reply via email to