diff options
author | Vyacheslav Reutskiy <v.reutskiy@samsung.com> | 2016-04-25 07:30:11 +0300 |
---|---|---|
committer | Vyacheslav Reutskiy <v.reutskiy@samsung.com> | 2016-04-25 07:41:54 +0300 |
commit | 49a27688b1e0175071466b8a01a2b1630c932497 (patch) | |
tree | e2bd8853ce38f051d1ab8cebdd2c7a15cc09c243 | |
parent | e88423e9948f0c39d6b16f9c33e7583545e525f1 (diff) | |
download | efl-49a27688b1e0175071466b8a01a2b1630c932497.tar.gz |
edje: fix the source string for table item
If the table item has a name, posible case when item name length, with
index, will be 12. The 12 is predefined length for box index.
Quote Cedric
In a box, the index is one dimension, one int, thus the length
of it (from int to string) will always fit inside 12 bytes. That's
where this 12 comes from. That's also how the unique name of that item
is defined.
This commit separate the items name generation by part type, it will be
more correctly.
@fix
-rw-r--r-- | src/lib/edje/edje_load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c index 87553ecda4..16bc5ee935 100644 --- a/src/lib/edje/edje_load.c +++ b/src/lib/edje/edje_load.c @@ -2232,7 +2232,7 @@ _cb_signal_repeat(void *data, Evas_Object *obj, const char *sig, const char *sou if (ed->parent && length_index) { new_src[length_parent++] = EDJE_PART_PATH_SEPARATOR_INDEXL; - if (length_index == 12) + if (pack_it->parent->part->type == EDJE_PART_TYPE_BOX) length_parent += eina_convert_itoa(i, new_src + length_parent); else { |