From: Enlightenment C. <no...@cv...> - 2006-10-14 01:02:17
|
Enlightenment CVS committal Author : onefang Project : e17 Module : apps/e Dir : e17/apps/e/src/bin Modified Files: e_apps.c e_int_menus.c Log Message: The directory icons will be called .directory as per the FDE spec. This will likely be implemented later today. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_apps.c,v retrieving revision 1.224 retrieving revision 1.225 diff -u -3 -r1.224 -r1.225 --- e_apps.c 13 Oct 2006 23:35:23 -0000 1.224 +++ e_apps.c 14 Oct 2006 01:02:16 -0000 1.225 @@ -433,7 +433,7 @@ { if ((!a->idle_fill) && (!a->filled)) { - snprintf(buf, sizeof(buf), "%s/.directory.desktop", path); + snprintf(buf, sizeof(buf), "%s/.directory", path); if (ecore_file_exists(buf)) e_app_fields_fill(a, buf); else @@ -2469,7 +2469,7 @@ printf("BUG: Weird event for .order: %d\n", event); } } - else if (!strcmp(file, ".directory.desktop")) + else if (!strcmp(file, ".directory")) { if ((event == ECORE_FILE_EVENT_CREATED_FILE) || (event == ECORE_FILE_EVENT_MODIFIED)) @@ -2495,7 +2495,7 @@ } else { - printf("BUG: Weird event for .directory.desktop: %d\n", event); + printf("BUG: Weird event for .directory: %d\n", event); } } else =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_int_menus.c,v retrieving revision 1.173 retrieving revision 1.174 diff -u -3 -r1.173 -r1.174 --- e_int_menus.c 13 Oct 2006 19:50:50 -0000 1.173 +++ e_int_menus.c 14 Oct 2006 01:02:16 -0000 1.174 @@ -487,7 +487,7 @@ char buf[4096]; /* FIXME: .directory.eaps are obsolete, but have yet to be replaced by FDO stuff. */ - snprintf(buf, sizeof(buf), "%s/.directory.desktop", a->path); + snprintf(buf, sizeof(buf), "%s/.directory", a->path); if (!((a->icon_class) && (e_util_menu_item_edje_icon_list_set(mi, a->icon_class)))) /*e_menu_item_icon_edje_set(mi, buf, "icon")*/; |