hermet pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=89a2a7c134c8b5a9ab128c44db693c207bed55f3

commit 89a2a7c134c8b5a9ab128c44db693c207bed55f3
Author: Hermet Park <her...@hermet.pe.kr>
Date:   Tue Mar 8 20:58:17 2016 +0900

    Revert "list: set internal box as homogeneous if no separator items are 
present"
    
    This reverts commit 9f4c43c20dfa36e7a8be18278acf4336c13574d7.
    
    I'm sorry but this causes a side effect(list sizing issue) at enventor.
    And I couldn't find any mis-usage in enventor side.
    
    We can't not accept this patch unless we figure the exact reason out.
---
 src/lib/elm_list.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c
index 78c6804..14164dc 100644
--- a/src/lib/elm_list.c
+++ b/src/lib/elm_list.c
@@ -815,7 +815,6 @@ _items_fix(Evas_Object *obj)
    const char *it_plain;
    const char *it_compress;
    const char *it_compress_odd;
-   Eina_Bool separators = EINA_FALSE;
 
    ELM_LIST_DATA_GET(obj, sd);
 
@@ -851,7 +850,6 @@ _items_fix(Evas_Object *obj)
              if (mw > minw[1]) minw[1] = mw;
              if (mh > minh[1]) minh[1] = mh;
           }
-        separators |= it->is_separator;
      }
 
    if ((minw[0] != sd->minw[0]) || (minw[1] != sd->minw[1]) ||
@@ -865,7 +863,6 @@ _items_fix(Evas_Object *obj)
      }
 
    i = 0;
-   elm_box_homogeneous_set(sd->box, !separators);
    EINA_LIST_FOREACH(sd->items, l, eo_it)
      {
         ELM_LIST_ITEM_DATA_GET(eo_it, it);

-- 


Reply via email to