summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2015-06-22 19:06:21 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-06-22 19:06:21 +0900
commit3b51ab1f1a7ebc7b8dcb4461fef8648515bb9829 (patch)
treebbb06eaa76f54f2e0b39da9260bb8075e00770ab
parentaf0069db52b97f65804cf75fbed4b1c9ad7c3156 (diff)
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
-rw-r--r--src/lib/elm_genlist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 50a3ffcfb..a4936b016 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -4425,9 +4425,8 @@ _item_process_post(Elm_Genlist_Data *sd,
4425 it->item->block->changed = 0; 4425 it->item->block->changed = 0;
4426 if (sd->pan_changed) 4426 if (sd->pan_changed)
4427 { 4427 {
4428 evas_object_smart_changed(sd->pan_obj);
4428 ELM_SAFE_FREE(sd->calc_job, ecore_job_del); 4429 ELM_SAFE_FREE(sd->calc_job, ecore_job_del);
4429 _calc_job(sd->obj);
4430 sd->pan_changed = EINA_FALSE;
4431 } 4430 }
4432 } 4431 }
4433 if (show_me) it->item->block->show_me = EINA_TRUE; 4432 if (show_me) it->item->block->show_me = EINA_TRUE;