parent
886e583fcd
commit
132301b911
|
@ -113,12 +113,16 @@ 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);
|
||||
|
@ -135,12 +139,16 @@ 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;
|
||||
|
|
Loading…
Reference in New Issue