rimmed pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=49a27688b1e0175071466b8a01a2b1630c932497

commit 49a27688b1e0175071466b8a01a2b1630c932497
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Mon Apr 25 07:30:11 2016 +0300

    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
---
 src/lib/edje/edje_load.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c
index 87553ec..16bc5ee 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
           {

-- 


Reply via email to