rimmed pushed a commit to branch master.

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

commit fee6c1ae0fc3ac7951d8d4e1ad137ba4c0eea824
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Wed Nov 25 13:59:10 2015 +0200

    groupedit: save the pointer to box cells object for hilignt it
    
    Change-Id: I63a01c7f844a0de94c2522f8123929d9f9420c2b
---
 src/bin/ui/workspace/groupedit_calc.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/bin/ui/workspace/groupedit_calc.c 
b/src/bin/ui/workspace/groupedit_calc.c
index f869d14..38b2ce6 100644
--- a/src/bin/ui/workspace/groupedit_calc.c
+++ b/src/bin/ui/workspace/groupedit_calc.c
@@ -643,6 +643,7 @@ _part_box_add(Ws_Groupedit_Smart_Data *sd, Groupedit_Part 
*gp)
    int spread_w, spread_h;
    int min_w, min_h, max_w, max_h,  w, h, i;
    Evas_Object *cell, *cell_content;
+   Groupedit_Item *item;
 
    assert(gp->container == NULL);
 
@@ -687,6 +688,13 @@ _part_box_add(Ws_Groupedit_Smart_Data *sd, Groupedit_Part 
*gp)
              elm_object_content_set(cell, cell_content);
              evas_object_hide(cell_content);
              evas_object_box_append(gp->container, cell);
+             if (i == 0)
+               {
+                  item = mem_malloc(sizeof(Groupedit_Item));
+                  item->name = eina_stringshare_add(str);
+                  item->layout = cell;
+                  gp->items = eina_list_append(gp->items, item);
+               }
           }
      }
 }

-- 


Reply via email to