raster pushed a commit to branch master.

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

commit d99960707be969d0e6c124bf0807c74acaab3726
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Fri Oct 4 15:00:26 2013 +0900

    genlist - fix homogenouse mode after previous fix to stop realizing all
---
 src/lib/elm_genlist.c | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index f713dce..bdccdb7 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -4491,6 +4491,24 @@ _item_block_recalc(Item_Block *itb,
                             _item_realize(it, in, EINA_TRUE);
                             _elm_genlist_item_unrealize(it, EINA_TRUE);
                          }
+                       else
+                         {
+                            if (it->group)
+                              {
+                                 it->item->w = it->item->minw =
+                                   sd->group_item_width;
+                                 it->item->h = it->item->minh =
+                                   sd->group_item_height;
+                              }
+                            else
+                              {
+                                 it->item->w = it->item->minw =
+                                   sd->item_width;
+                                 it->item->h = it->item->minh =
+                                   sd->item_height;
+                              }
+                            it->item->mincalcd = EINA_TRUE;
+                         }
                     }
                }
              else
@@ -4512,6 +4530,7 @@ _item_block_recalc(Item_Block *itb,
                             it->item->h = it->item->minh =
                                 sd->item_height;
                          }
+                       it->item->mincalcd = EINA_TRUE;
                     }
                   else
                     {

-- 


Reply via email to