[Genlist][Nabi:S1-1013] bug fix, Abnormality is displayed when selecting Type while...
authorJung Chanwook <joey.jung@samsung.com>
Thu, 19 Apr 2012 06:20:20 +0000 (15:20 +0900)
committerJung Chanwook <joey.jung@samsung.com>
Thu, 19 Apr 2012 08:29:15 +0000 (17:29 +0900)
Change-Id: I66131bb65a74489122b43f694fd2ed2077a94756

src/lib/elm_genlist.c

index bd99c64..90d8472 100644 (file)
@@ -2728,7 +2728,10 @@ _item_block_position(Item_Block *itb,
                   else
                     {
                        if (!it->wd->tree_effect_animator)
-                         _elm_genlist_item_unrealize(it, EINA_FALSE);
+                         {
+                            it->want_unrealize = EINA_TRUE;
+                            _elm_genlist_item_unrealize(it, EINA_FALSE);
+                         }
                     }
                }
              in++;
@@ -2785,6 +2788,7 @@ _changed_size_hints(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__,
 {
    Elm_Gen_Item *it = data;
    if (!it) return;
+   if (it->want_unrealize) return;
    it->item->mincalcd = EINA_FALSE;
    it->item->block->changeme = EINA_TRUE;
    if (it->wd->changed_job) ecore_job_del(it->wd->changed_job);