From d8ae79046662251a1209a2fb5c8e39e8dc396d9f Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Fri, 22 Sep 2006 03:51:17 +0000 Subject: [PATCH] no - xpm is not requried to be supported. this is an auto-icon choice based on mime type that is specific to e and how it chooses icons for file types - i would love to see xpm die a slow horrible death. i have been hoping for its death since i first started enlightenment back in 1996. anything i can do to ease its way into its grave - i am happy to do. that means not supporting it for things that are e specific and where we are not required to. SVN revision: 26014 --- src/bin/e_fm_mime.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/bin/e_fm_mime.c b/src/bin/e_fm_mime.c index 25f823e82..071f1fcf0 100644 --- a/src/bin/e_fm_mime.c +++ b/src/bin/e_fm_mime.c @@ -113,16 +113,12 @@ e_fm_mime_icon_get(const char *mime) if (ecore_file_exists(buf)) goto ok; snprintf(buf, sizeof(buf), "%s/.e/e/icons/%s.png", homedir, mime); if (ecore_file_exists(buf)) goto ok; - snprintf(buf, sizeof(buf), "%s/.e/e/icons/%s.xpm", homedir, mime); - if (ecore_file_exists(buf)) goto ok; snprintf(buf, sizeof(buf), "%s/.e/e/icons/%s.edj", homedir, buf2); if (ecore_file_exists(buf)) goto ok; snprintf(buf, sizeof(buf), "%s/.e/e/icons/%s.svg", homedir, buf2); if (ecore_file_exists(buf)) goto ok; snprintf(buf, sizeof(buf), "%s/.e/e/icons/%s.png", homedir, buf2); if (ecore_file_exists(buf)) goto ok; - snprintf(buf, sizeof(buf), "%s/.e/e/icons/%s.xpm", homedir, buf2); - if (ecore_file_exists(buf)) goto ok; /* 3. look up icon in theme */ snprintf(buf, sizeof(buf), "e/icons/fileman/mime/%s", mime); @@ -139,16 +135,12 @@ e_fm_mime_icon_get(const char *mime) if (ecore_file_exists(buf)) goto ok; snprintf(buf, sizeof(buf), "%s/data/icons/%s.png", e_prefix_data_get(), mime); if (ecore_file_exists(buf)) goto ok; - snprintf(buf, sizeof(buf), "%s/data/icons/%s.xpm", e_prefix_data_get(), mime); - if (ecore_file_exists(buf)) goto ok; snprintf(buf, sizeof(buf), "%s/data/icons/%s.edj", e_prefix_data_get(), buf2); if (ecore_file_exists(buf)) goto ok; snprintf(buf, sizeof(buf), "%s/data/icons/%s.svg", e_prefix_data_get(), buf2); if (ecore_file_exists(buf)) goto ok; snprintf(buf, sizeof(buf), "%s/data/icons/%s.png", e_prefix_data_get(), buf2); if (ecore_file_exists(buf)) goto ok; - snprintf(buf, sizeof(buf), "%s/data/icons/%s.xpm", e_prefix_data_get(), buf2); - if (ecore_file_exists(buf)) goto ok; if (homedir) free(homedir); return NULL;