summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/edje/edje_edit.c')
-rw-r--r--src/lib/edje/edje_edit.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index e016acc218..3188f399a8 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -7200,6 +7200,7 @@ _edje_generate_source_of_group(Edje *ed, Edje_Part_Collection_Directory_Entry *p
7200 const char *group = pce->entry; 7200 const char *group = pce->entry;
7201 Edje_Part_Collection *pc; 7201 Edje_Part_Collection *pc;
7202 Eina_Bool ret = EINA_TRUE; 7202 Eina_Bool ret = EINA_TRUE;
7203 Eina_List *alias_list = NULL;
7203 7204
7204 obj = edje_edit_object_add(ed->base->evas); 7205 obj = edje_edit_object_add(ed->base->evas);
7205 if (!edje_object_file_set(obj, ed->file->path, group)) return EINA_FALSE; 7206 if (!edje_object_file_set(obj, ed->file->path, group)) return EINA_FALSE;
@@ -7213,9 +7214,13 @@ _edje_generate_source_of_group(Edje *ed, Edje_Part_Collection_Directory_Entry *p
7213 7214
7214 eed = eo_data_scope_get(obj, MY_CLASS); 7215 eed = eo_data_scope_get(obj, MY_CLASS);
7215 pc = eed->base->collection; 7216 pc = eed->base->collection;
7217 alias_list = edje_edit_group_aliases_get(obj, group);
7216 7218
7217 BUF_APPENDF(I1"group { name: \"%s\";\n", group); 7219 BUF_APPENDF(I1"group { name: \"%s\";\n", group);
7218 //TODO Support alias: 7220 EINA_LIST_FOREACH(alias_list, l, data)
7221 BUF_APPENDF(I2"alias: \"%s\";\n", data);
7222 edje_edit_string_list_free(alias_list);
7223
7219 w = edje_edit_group_min_w_get(obj); 7224 w = edje_edit_group_min_w_get(obj);
7220 h = edje_edit_group_min_h_get(obj); 7225 h = edje_edit_group_min_h_get(obj);
7221 if ((w > 0) || (h > 0)) 7226 if ((w > 0) || (h > 0))
@@ -7466,7 +7471,8 @@ _edje_generate_source(Evas_Object *obj)
7466 7471
7467 EINA_ITERATOR_FOREACH(it, pce) 7472 EINA_ITERATOR_FOREACH(it, pce)
7468 { 7473 {
7469 ret &= _edje_generate_source_of_group(ed, pce, buf); 7474 if (!pce->group_alias)
7475 ret &= _edje_generate_source_of_group(ed, pce, buf);
7470 } 7476 }
7471 7477
7472 eina_iterator_free(it); 7478 eina_iterator_free(it);