Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_desktop


Modified Files:
        ecore_desktop_icon.c 


Log Message:
Decided to let the coder search for edje's before calling this.  Also added 
.svgz for compressed SVGs.

===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_desktop/ecore_desktop_icon.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ecore_desktop_icon.c        14 Aug 2006 10:22:51 -0000      1.5
+++ ecore_desktop_icon.c        16 Aug 2006 08:50:39 -0000      1.6
@@ -8,7 +8,7 @@
 static char        *_ecore_desktop_icon_find0(char *icon, char *icon_size,
                                              char *icon_theme);
 
-static const char  *ext[] = { ".edje", ".png", ".svg", ".xpm", "", NULL };
+static const char  *ext[] = { ".png", ".svgz", ".svg", ".xpm", "", NULL };
 
 
 /**
@@ -24,7 +24,6 @@
  *
  * Using the search algorithm specified by freedesktop.org,
  * search for an icon in the currently installed set of icon themes.
- * As an Enlightenment DR17 extension it searches for .edje files first.
  *
  * @param   icon The name of the required icon.
  * @param   icon_size The size of the required icon.
@@ -59,8 +58,6 @@
 #endif
 
    /* Check For Unsupported Extension */
-//   if ((!strcmp(icon + strlen(icon) - 4, ".svg")) || (!strcmp(icon + 
strlen(icon) - 4, ".ico"))
-//       || (!strcmp(icon + strlen(icon) - 4, ".xpm")))
    if (!strcmp(icon + strlen(icon) - 4, ".ico"))
       return NULL;
 



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to