From a3e0247f03dd1a88f99ea453b7b6db2c7f4c2eef Mon Sep 17 00:00:00 2001 From: titan Date: Thu, 3 Feb 2011 19:06:57 +0000 Subject: [PATCH] Stick to FDO format for now. SVN revision: 56679 --- src/bin/ephoto_thumb_browser.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/bin/ephoto_thumb_browser.c b/src/bin/ephoto_thumb_browser.c index 70f6614..0d34c0a 100644 --- a/src/bin/ephoto_thumb_browser.c +++ b/src/bin/ephoto_thumb_browser.c @@ -119,17 +119,10 @@ ephoto_thumb_browser_thumb_append(const char *file) static Evas_Object * _ephoto_thumbnail_icon_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSED__) { - Ethumb_Thumb_Format format; Evas_Object *o; const char *file = data; - char *ext = strrchr(file, '.'); - if ((strcasecmp(ext, "jpg") == 0) || - (strcasecmp(ext, "jpeg") == 0)) - format = ETHUMB_THUMB_JPEG; - else - format = ETHUMB_THUMB_FDO; - ethumb_client_format_set(ephoto->client, format); + ethumb_client_format_set(ephoto->client, ETHUMB_THUMB_FDO); ethumb_client_size_set(ephoto->client, etb->thumb_size, etb->thumb_size); o = elm_thumb_add(ephoto->win);