From 5a3fa351cd641072984a14db8415fcd8d7ebdc74 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Wed, 16 Aug 2006 08:50:39 +0000 Subject: [PATCH] Decided to let the coder search for edje's before calling this. Also added .svgz for compressed SVGs. SVN revision: 24792 --- legacy/ecore/src/lib/ecore_desktop/ecore_desktop_icon.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/legacy/ecore/src/lib/ecore_desktop/ecore_desktop_icon.c b/legacy/ecore/src/lib/ecore_desktop/ecore_desktop_icon.c index bf61062fe8..2795e42be0 100644 --- a/legacy/ecore/src/lib/ecore_desktop/ecore_desktop_icon.c +++ b/legacy/ecore/src/lib/ecore_desktop/ecore_desktop_icon.c @@ -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;