From ab8448648095bca2d93a36920d02871f364c88bf Mon Sep 17 00:00:00 2001 From: Jung Chanwook Date: Thu, 19 Apr 2012 15:20:20 +0900 Subject: [PATCH] [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 --- src/lib/elm_genlist.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); -- 2.7.4