aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitalii Vorobiov <vi.vorobiov@samsung.com>2016-12-09 11:50:43 +0200
committerVitalii Vorobiov <vi.vorobiov@samsung.com>2016-12-09 11:50:43 +0200
commit39e67b500cbb942a890f1950af7675667fda0adb (patch)
tree0471b278504af7c37be05f63f0850a292bffe965
parenteina: add free cb to eina_iterator_filter_new (diff)
downloadefl-39e67b500cbb942a890f1950af7675667fda0adb.tar.gz
edje_pick: use correct id's for exported groups
@fix
-rw-r--r--src/bin/edje/edje_pick.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bin/edje/edje_pick.c b/src/bin/edje/edje_pick.c
index 12b8964c6f..1c48ee7552 100644
--- a/src/bin/edje/edje_pick.c
+++ b/src/bin/edje/edje_pick.c
@@ -1376,10 +1376,11 @@ static int
_edje_pick_collection_process(Edje_Part_Collection *edc, Edje_File *edf, Edje_File *o)
{
/* Update all IDs, NAMES in current collection */
- static int current_collection_id = 0;
+ Edje_Part_Collection_Directory_Entry *ce;
+
+ ce = eina_hash_find(o->collection, edc->part);
+ edc->id = ce->id;
- edc->id = current_collection_id;
- current_collection_id++;
_edje_pick_images_process(edc, edf, o);
_edje_pick_programs_process(edc);