From e4d3144cacfd3aaeec907d2eadd982848cdbf065 Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Wed, 16 Mar 2011 09:34:46 +0000 Subject: [PATCH] e17: e_widget_ilist: do reveal(show) item in next idler. if other commands were in queue list geomentry is not up to date anymore fixes: showing the right area with e_widget_ilist_show after items were removed SVN revision: 57792 --- src/bin/e_widget_ilist.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/bin/e_widget_ilist.c b/src/bin/e_widget_ilist.c index 777d1923c..39dca016d 100644 --- a/src/bin/e_widget_ilist.c +++ b/src/bin/e_widget_ilist.c @@ -71,8 +71,6 @@ static enum _Queue_Command CMD_SHOW } Queue_Command; - - static Eina_Bool _queue_idler(void *data) { @@ -154,7 +152,8 @@ _queue_idler(void *data) else if (qi->command == CMD_SHOW) { Evas_Coord x, y, w, h; - + if (num > 0) break; + e_ilist_nth_geometry_get(wd->o_ilist, qi->item, &x, &y, &w, &h); if (qi->use_relative) e_scrollframe_child_pos_set(wd->o_scrollframe, x, y);