Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_fm_mime.c 


Log Message:


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.



===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fm_mime.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- e_fm_mime.c 22 Sep 2006 02:07:41 -0000      1.7
+++ e_fm_mime.c 22 Sep 2006 03:51:17 -0000      1.8
@@ -113,16 +113,12 @@
    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,15 +135,11 @@
    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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to