[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[core/elementary] master 01/01: elm_list.c: disable edje_object_parts_extends_calc in _item_fix.



seoz pushed a commit to branch master.

commit 794c7825a52bd767482a4353f4af45bddac967bb
Author: Daniel Juyung Seo <seojuyung2@gmail.com>
Date:   Sat Sep 14 13:31:32 2013 +0900

    elm_list.c: disable edje_object_parts_extends_calc in _item_fix.
    
    This fixed T179 but introduced T286. T286 is bigger and more important issue than T179.
    So temporarily disable these lines until it gets fixed correctly.
---
 src/lib/elm_list.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c
index 72d3e9f..086335c 100644
--- a/src/lib/elm_list.c
+++ b/src/lib/elm_list.c
@@ -742,7 +742,6 @@ _items_fix(Evas_Object *obj)
                   // this may call up user and it may modify the list item
                   // but we're safe as we're flagged as walking.
                   // just don't process further
-                  Evas_Coord ew, eh;
                   edje_object_message_signal_process(VIEW(it));
                   if (it->deleted)
                     continue;
@@ -751,10 +750,15 @@ _items_fix(Evas_Object *obj)
                     elm_coords_finger_size_adjust(1, &mw, 1, &mh);
                   edje_object_size_min_restricted_calc
                     (VIEW(it), &mw, &mh, mw, mh);
+                  /*
+                  FIXME: this fixed T179 but introduced T286.
+                  Temporarily disable these lines until it gets fixed correctly.
+                  Evas_Coord ew, eh;
                   edje_object_parts_extends_calc
                     (VIEW(it), NULL, NULL, &ew, &eh);
                   mw = mw > ew ? mw : ew;
                   mh = mh > eh ? mh : eh;
+                  */
                   if (!it->is_separator)
                     elm_coords_finger_size_adjust(1, &mw, 1, &mh);
                   evas_object_size_hint_min_set(VIEW(it), mw, mh);

--