summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2015-06-22 19:06:21 +0900
committerStefan Schmidt <stefan@datenfreihafen.org>2015-06-23 09:57:12 +0200
commit38f427f8a78980576e1e05aa9b3c127b52e03cf3 (patch)
tree0ae517ac4ec99b6f578568efa16496defe2a2c2e
parent85f20bcaa5e01286b4842c0eccc2b060b6fde257 (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 6594aa0c0..d351f28cf 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -4411,9 +4411,8 @@ _item_process_post(Elm_Genlist_Data *sd,
4411 it->item->block->changed = 0; 4411 it->item->block->changed = 0;
4412 if (sd->pan_changed) 4412 if (sd->pan_changed)
4413 { 4413 {
4414 evas_object_smart_changed(sd->pan_obj);
4414 ELM_SAFE_FREE(sd->calc_job, ecore_job_del); 4415 ELM_SAFE_FREE(sd->calc_job, ecore_job_del);
4415 _calc_job(sd->obj);
4416 sd->pan_changed = EINA_FALSE;
4417 } 4416 }
4418 } 4417 }
4419 if (show_me) it->item->block->show_me = EINA_TRUE; 4418 if (show_me) it->item->block->show_me = EINA_TRUE;