From 593f71695e4ef98a5baf030284ef7eca5236ba9c Mon Sep 17 00:00:00 2001 From: Stephen Houston Date: Tue, 28 Jun 2011 23:22:44 +0000 Subject: [PATCH] Fix multiple up items. SVN revision: 60780 --- src/bin/ephoto_thumb_browser.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/bin/ephoto_thumb_browser.c b/src/bin/ephoto_thumb_browser.c index 899613d..fb339fd 100644 --- a/src/bin/ephoto_thumb_browser.c +++ b/src/bin/ephoto_thumb_browser.c @@ -256,8 +256,6 @@ _todo_items_process(void *data) if ((tb->ls) && (eina_list_count(tb->todo_items) < TODO_ITEM_MIN_BATCH)) return EINA_TRUE; - _up_item_add_if_required(tb); - tb->animator.todo_items = NULL; 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); elm_gengrid_clear(tb->grid); elm_fileselector_entry_path_set(tb->fsel, tb->ephoto->config->directory); + _up_item_add_if_required(tb); 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; } - if (!tb->animator.todo_items) _up_item_add_if_required(tb); - return ECORE_CALLBACK_PASS_ON; }