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
This commit is contained in:
Vyacheslav Reutskiy 2016-04-25 07:30:11 +03:00
parent e88423e994
commit 49a27688b1
1 changed files with 1 additions and 1 deletions

View File

@ -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
{