forked from enlightenment/enlightenment
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
This commit is contained in:
parent
acfadd535b
commit
e4d3144cac
|
@ -71,8 +71,6 @@ static enum _Queue_Command
|
||||||
CMD_SHOW
|
CMD_SHOW
|
||||||
} Queue_Command;
|
} Queue_Command;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
_queue_idler(void *data)
|
_queue_idler(void *data)
|
||||||
{
|
{
|
||||||
|
@ -154,7 +152,8 @@ _queue_idler(void *data)
|
||||||
else if (qi->command == CMD_SHOW)
|
else if (qi->command == CMD_SHOW)
|
||||||
{
|
{
|
||||||
Evas_Coord x, y, w, h;
|
Evas_Coord x, y, w, h;
|
||||||
|
if (num > 0) break;
|
||||||
|
|
||||||
e_ilist_nth_geometry_get(wd->o_ilist, qi->item, &x, &y, &w, &h);
|
e_ilist_nth_geometry_get(wd->o_ilist, qi->item, &x, &y, &w, &h);
|
||||||
if (qi->use_relative)
|
if (qi->use_relative)
|
||||||
e_scrollframe_child_pos_set(wd->o_scrollframe, x, y);
|
e_scrollframe_child_pos_set(wd->o_scrollframe, x, y);
|
||||||
|
|
Loading…
Reference in New Issue