forked from enlightenment/efl
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:
parent
e88423e994
commit
49a27688b1
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue