summaryrefslogtreecommitdiff
path: root/legacy/elementary
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2012-03-28 06:23:18 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2012-03-28 06:23:18 +0000
commit09e15ebe0409b41c9a505ee99557ee4294d03248 (patch)
tree64c03e0574d7cb9778df9f5cd637bb8dc2eeefd6 /legacy/elementary
parent7a4ed3f94fd0cd1619365c4997f3bafa2c1b21e7 (diff)
elm genlist: Fixed tree effect bug. Patch by Chanwook Jung
<jchanwook@gmail.com> On Wed, Mar 28, 2012 at 3:06 PM, chanwook jung <jchanwook@gmail.com> wrote: > Dear all, > > I added one line to fix the bug at tree effect. If the item is equal to > expanded_next_item, expanded_next_item set to NULL in _item_del > > Thanks, > Joey SVN revision: 69691
Diffstat (limited to 'legacy/elementary')
-rw-r--r--legacy/elementary/src/lib/elm_genlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/legacy/elementary/src/lib/elm_genlist.c b/legacy/elementary/src/lib/elm_genlist.c
index d7123fcd88..d6cc2683af 100644
--- a/legacy/elementary/src/lib/elm_genlist.c
+++ b/legacy/elementary/src/lib/elm_genlist.c
@@ -862,6 +862,7 @@ _item_del(Elm_Gen_Item *it)
862 it->wd->anchor_item = ELM_GEN_ITEM_FROM_INLIST(EINA_INLIST_GET(it)->prev); 862 it->wd->anchor_item = ELM_GEN_ITEM_FROM_INLIST(EINA_INLIST_GET(it)->prev);
863 } 863 }
864 if (it->wd->expanded_item == it) it->wd->expanded_item = NULL; 864 if (it->wd->expanded_item == it) it->wd->expanded_item = NULL;
865 if (it->wd->expanded_next_item == it) it->wd->expanded_next_item = NULL;
865 if (it->parent) 866 if (it->parent)
866 it->parent->item->items = eina_list_remove(it->parent->item->items, it); 867 it->parent->item->items = eina_list_remove(it->parent->item->items, it);
867 if (it->item->swipe_timer) ecore_timer_del(it->item->swipe_timer); 868 if (it->item->swipe_timer) ecore_timer_del(it->item->swipe_timer);