From 71e3978df006b71536383c7c57a634cc40cbba21 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Wed, 23 May 2012 03:38:07 +0000 Subject: [PATCH] fix thumb key fetch for color sorting! SVN revision: 71342 --- src/bin/e_thumb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/e_thumb.c b/src/bin/e_thumb.c index 9134b63..5e380cc 100644 --- a/src/bin/e_thumb.c +++ b/src/bin/e_thumb.c @@ -1,3 +1,4 @@ + #include "e.h" typedef struct _E_Thumb E_Thumb; @@ -207,7 +208,7 @@ _e_thumb_key_load(E_Thumb *eth, const char *icon) { Eet_File *ef; int size = 0; - + ef = eet_open(icon, EET_FILE_MODE_READ); if (!ef) return; eth->sort_id = eet_read(ef, "/thumbnail/sort_id", &size); @@ -261,11 +262,10 @@ e_thumb_client_data(Ecore_Ipc_Event_Client_Data *e) if (_pending == 0) _e_thumb_thumbnailers_kill(); if (ecore_file_exists(icon)) { - e_icon_preload_set(obj, 1); e_icon_file_key_set(obj, icon, "/thumbnail/data"); _e_thumb_key_load(eth, icon); + e_icon_preload_set(obj, 1); } - evas_object_smart_callback_call(obj, "e_thumb_gen", NULL); } } -- 2.7.4