Enlightenment CVS committal
Author : onefang
Project : e17
Module : apps/e_utils
Dir : e17/apps/e_utils/src/bin/e17genmenu/src/bin
Modified Files:
icons.c
Log Message:
Doh -= 3
===================================================================
RCS file:
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/e17genmenu/src/bin/icons.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- icons.c 3 Feb 2006 19:18:33 -0000 1.11
+++ icons.c 3 Feb 2006 19:21:39 -0000 1.12
@@ -7,6 +7,9 @@
#include "icons.h"
#include "parse.h"
+static const char *ext[] = {".png", ".svg", ".xpm", "", NULL};
+
+
char *
set_icon(char *token)
{
@@ -135,13 +138,13 @@
return DEFAULTICON;
}
-static const char *ext[] = {".png", ".svg", ".xpm", "", NULL};
-
/** Search for an icon the fdo way.
*
* This complies with the freedesktop.org Icon Theme Specification version 0.7
*
* @param icon The icon to search for.
+ * @param icon_size The icon size to search for.
+ * @param icon_theme The icon theme to search in.
* @return The full path to the found icon.
*/
char *
@@ -154,9 +157,9 @@
if (icon == NULL)
return DEFAULTICON;
-//#ifdef DEBUG
+#ifdef DEBUG
fprintf(stderr, "\tTrying To Find Icon %s (%s) in theme %s\n", icon,
icon_size, icon_theme);
-//#endif
+#endif
/* Check For Unsupported Extension */
if ((!strcmp(icon + strlen(icon) - 4, ".svg"))
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs