Enlightenment CVS committal
Author : onefang
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_fm_mime.c
Log Message:
.xpm are allowed for icons to.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fm_mime.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e_fm_mime.c 21 Sep 2006 20:08:11 -0000 1.6
+++ e_fm_mime.c 22 Sep 2006 02:07:41 -0000 1.7
@@ -113,12 +113,16 @@
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,11 +139,15 @@
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);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs