rimmed pushed a commit to branch master.

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

commit c3dd1fcdde5f9947dbc0cf7f87fdb6af2103f1f9
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Mon Mar 28 12:37:58 2016 +0300

    group_navigator: change the check state by 'h' hotkey event
    
    Change-Id: I6f505a76504caa61187726568765a7d4ddd43f96
---
 src/bin/ui/workspace/group_navigator.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/bin/ui/workspace/group_navigator.c 
b/src/bin/ui/workspace/group_navigator.c
index 45c17de..58e0f9d 100644
--- a/src/bin/ui/workspace/group_navigator.c
+++ b/src/bin/ui/workspace/group_navigator.c
@@ -2106,6 +2106,7 @@ group_navigator_part_showhide_request(Evas_Object *obj)
 {
    Part_List *pl = evas_object_data_get(obj, GROUP_NAVIGATOR_DATA);
    Part *part;
+   Evas_Object *eye;
 
    assert(pl != NULL);
 
@@ -2114,6 +2115,10 @@ group_navigator_part_showhide_request(Evas_Object *obj)
         part = elm_object_item_data_get(pl->selected_part_item);
         if (part)
           {
+             eye = elm_object_item_part_content_get(pl->selected_part_item, 
"elm.swallow.icon");
+             if (eye) elm_check_state_set(eye, !elm_check_state_get(eye));
+             /* elementary not call callback if we change the check state, 
while it
+              * not fixed, we need this small hack */
              _on_eye_clicked(part, obj, NULL);
           }
      }

-- 


Reply via email to