forked from enlightenment/efl
when adding items to genlist - if there is no block yet, or a block that is
incomplete - always calc a block worth immediately. SVN revision: 47416
This commit is contained in:
parent
29e61e39cb
commit
9ed7a42108
|
@ -1704,9 +1704,18 @@ static void
|
|||
_item_queue(Widget_Data *wd, Elm_Genlist_Item *it)
|
||||
{
|
||||
if (it->queued) return;
|
||||
if (!wd->queue_idler) wd->queue_idler = ecore_idler_add(_item_idler, wd);
|
||||
it->queued = EINA_TRUE;
|
||||
wd->queue = eina_list_append(wd->queue, it);
|
||||
while ((wd->queue) && ((!wd->blocks) || (!wd->blocks->next)))
|
||||
{
|
||||
if (wd->queue_idler)
|
||||
{
|
||||
ecore_idler_del(wd->queue_idler);
|
||||
wd->queue_idler = NULL;
|
||||
}
|
||||
_item_idler(wd);
|
||||
}
|
||||
if (!wd->queue_idler) wd->queue_idler = ecore_idler_add(_item_idler, wd);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue