Fix multiple up items.

SVN revision: 60780
This commit is contained in:
Stephen Houston 2011-06-28 23:22:44 +00:00
parent ceda343414
commit 593f71695e
1 changed files with 1 additions and 4 deletions

View File

@ -256,8 +256,6 @@ _todo_items_process(void *data)
if ((tb->ls) && (eina_list_count(tb->todo_items) < TODO_ITEM_MIN_BATCH)) if ((tb->ls) && (eina_list_count(tb->todo_items) < TODO_ITEM_MIN_BATCH))
return EINA_TRUE; return EINA_TRUE;
_up_item_add_if_required(tb);
tb->animator.todo_items = NULL; tb->animator.todo_items = NULL;
EINA_LIST_FREE(tb->todo_items, entry) EINA_LIST_FREE(tb->todo_items, entry)
@ -436,6 +434,7 @@ _ephoto_thumb_populate_start(void *data, int type __UNUSED__, void *event __UNUS
_grid_items_free(tb); _grid_items_free(tb);
elm_gengrid_clear(tb->grid); elm_gengrid_clear(tb->grid);
elm_fileselector_entry_path_set(tb->fsel, tb->ephoto->config->directory); elm_fileselector_entry_path_set(tb->fsel, tb->ephoto->config->directory);
_up_item_add_if_required(tb);
return ECORE_CALLBACK_PASS_ON; return ECORE_CALLBACK_PASS_ON;
} }
@ -452,8 +451,6 @@ _ephoto_thumb_populate_end(void *data, int type __UNUSED__, void *event __UNUSED
return ECORE_CALLBACK_PASS_ON; return ECORE_CALLBACK_PASS_ON;
} }
if (!tb->animator.todo_items) _up_item_add_if_required(tb);
return ECORE_CALLBACK_PASS_ON; return ECORE_CALLBACK_PASS_ON;
} }