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

SVN revision: 24792
This commit is contained in:
David Walter Seikel 2006-08-16 08:50:39 +00:00
parent 5aa07e60c6
commit 5a3fa351cd
1 changed files with 1 additions and 4 deletions

View File

@ -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 @@ static const char *ext[] = { ".edje", ".png", ".svg", ".xpm", "", NULL };
*
* 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 @@ ecore_desktop_icon_find(char *icon, char *icon_size, char *icon_theme)
#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;