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
This commit is contained in:
Carsten Haitzler 2006-09-22 03:51:17 +00:00
parent 132301b911
commit d8ae790466
1 changed files with 0 additions and 8 deletions

View File

@ -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;