From 3b51ab1f1a7ebc7b8dcb4461fef8648515bb9829 Mon Sep 17 00:00:00 2001 From: Amitesh Singh Date: Mon, 22 Jun 2015 19:06:21 +0900 Subject: [PATCH] genlist: fix resize of items when added after elm_genlist_clear(). Summary: This fixes following issue. 1. Add genlist items 2. Clear genlist by elm_genlist_clear() 3. Append items. Genlist items are shrinked. This patch fixes that issue. @fix Partially resolves: T2367 Reviewers: Hermet, raster, cedric, raoulh, SanghyeonLee Subscribers: sachin.dev, seoz Differential Revision: https://phab.enlightenment.org/D2733 --- src/lib/elm_genlist.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index 50a3ffc..a4936b0 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -4425,9 +4425,8 @@ _item_process_post(Elm_Genlist_Data *sd, it->item->block->changed = 0; if (sd->pan_changed) { + evas_object_smart_changed(sd->pan_obj); ELM_SAFE_FREE(sd->calc_job, ecore_job_del); - _calc_job(sd->obj); - sd->pan_changed = EINA_FALSE; } } if (show_me) it->item->block->show_me = EINA_TRUE; -- 2.7.4