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: Put .edj back in the icon search. =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_desktop/ecore_desktop_icon.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- ecore_desktop_icon.c 2 Sep 2006 04:19:25 -0000 1.14 +++ ecore_desktop_icon.c 2 Sep 2006 05:06:39 -0000 1.15 @@ -12,8 +12,8 @@ static int _ecore_desktop_icon_theme_list_add(void *data, const char *path); void _ecore_desktop_icon_theme_destroy(Ecore_Desktop_Icon_Theme * icon_theme); - -static const char *ext[] = { ".png", ".svgz", ".svg", ".xpm", "", NULL }; +/* FIXME: We need a way for the client to disable searching for any of these that they don't support. */ +static const char *ext[] = { ".edj", ".png", ".svgz", ".svg", ".xpm", "", NULL }; static int init_count = 0; static Ecore_Hash *icon_theme_cache; static int loaded = 0; @@ -38,7 +38,7 @@ * @param icon The name of the required icon. * @param icon_size The size of the required icon. * @param icon_theme The theme of the required icon. - * @return The full path to an icon file. + * @return The full path to an icon file, or NULL. * @ingroup Ecore_Desktop_Icon_Group */ ------------------------------------------------------------------------- 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