Enlightenment CVS committal Author : onefang Project : e17 Module : apps/e_utils
Dir : e17/apps/e_utils/src/bin/e17genmenu Modified Files: main.c Log Message: *Fix up the paranoid directory creation. *Fix for change in icon theme list. =================================================================== RCS file: /cvs/e/e17/apps/e_utils/src/bin/e17genmenu/main.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- main.c 19 Aug 2006 06:26:58 -0000 1.14 +++ main.c 21 Aug 2006 19:43:02 -0000 1.15 @@ -118,12 +118,13 @@ _print_theme(void *value, void *user_data) { Ecore_Hash_Node *node; - char *key, *theme; + Ecore_Desktop_Icon_Theme *theme; + char *key; node = (Ecore_Hash_Node *) value; - key = (char *)node->key; - theme = (char *)node->value; - printf("FDO icon theme %s is in %s\n", key, theme); + key = node->key; + theme = node->value; + printf("FDO icon theme %s is in %s\n", key, theme->path); } #endif @@ -184,7 +185,11 @@ /* Just being paranoid, and cause people have removed these during testing. */ snprintf(path, sizeof(path), "%s/.e/e/applications/all", ecore_desktop_home_get()); ecore_file_mkpath(path); - snprintf(path, sizeof(path), "%s/.e/e/applications/favorite", ecore_desktop_home_get()); + snprintf(path, sizeof(path), "%s/.e/e/applications/menu", ecore_desktop_home_get()); + ecore_file_mkpath(path); + snprintf(path, sizeof(path), "%s/.e/e/applications/menu/all", ecore_desktop_home_get()); + ecore_file_mkpath(path); + snprintf(path, sizeof(path), "%s/.e/e/applications/menu/favorite", ecore_desktop_home_get()); ecore_file_mkpath(path); begin = ecore_time_get(); ------------------------------------------------------------------------- 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