From: Jung Chanwook Date: Thu, 19 Apr 2012 06:20:20 +0000 (+0900) Subject: [Genlist][Nabi:S1-1013] bug fix, Abnormality is displayed when selecting Type while... X-Git-Tag: sbs/armel/slp2-target~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab8448648095bca2d93a36920d02871f364c88bf;p=framework%2Fuifw%2Felementary.git [Genlist][Nabi:S1-1013] bug fix, Abnormality is displayed when selecting Type while creating Alarm. This issue is connected with changed_job. Don't apply to upstream. Change-Id: I66131bb65a74489122b43f694fd2ed2077a94756 --- diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index bd99c64..90d8472 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -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);