elm genlist: Fixed a bug with decorate all mode + tree effect. Delete tree effect animator and set the effect mode to none when decorate all mode is set.

SVN revision: 72591
This commit is contained in:
Daniel Juyung Seo 2012-06-21 10:56:15 +00:00
parent 5d87a869a2
commit 49a68f7f74
1 changed files with 7 additions and 0 deletions

View File

@ -5672,6 +5672,13 @@ elm_genlist_decorate_mode_set(Evas_Object *obj, Eina_Bool decorated)
if (wd->decorate_all_mode == decorated) return;
wd->decorate_all_mode = decorated;
if (wd->tree_effect_animator)
{
ecore_animator_del(wd->tree_effect_animator);
wd->tree_effect_animator = NULL;
}
wd->move_effect_mode = ELM_GENLIST_TREE_EFFECT_NONE;
list = elm_genlist_realized_items_get(obj);
if (!wd->decorate_all_mode)
{