From: Enlightenment C. <no...@cv...> - 2006-08-30 18:51:10
|
Enlightenment CVS committal Author : onefang Project : e17 Module : libs/ecore Dir : e17/libs/ecore/src/lib/ecore_desktop Modified Files: ecore_desktop_paths.c Log Message: * Document policy on adding directories to the paths. * Add a directory. =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_desktop/ecore_desktop_paths.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- ecore_desktop_paths.c 29 Aug 2006 19:06:03 -0000 1.14 +++ ecore_desktop_paths.c 30 Aug 2006 18:51:04 -0000 1.15 @@ -1,5 +1,9 @@ /* * This conforms with the freedesktop.org XDG Base Directory Specification version 0.6 + * + * The policy here is to add extra directories to the possible search paths to + * cater for quirks of different OS's. It doesn't take long to eliminate an + * excess directory from the paths. */ #include <dirent.h> @@ -199,7 +203,7 @@ if (!ecore_desktop_paths_menus) ecore_desktop_paths_menus = _ecore_desktop_paths_get(NULL, "XDG_CONFIG_HOME", "XDG_CONFIG_DIRS", - "~/.config", "/etc/xdg", "menus", NULL, + "~/.config", "/etc/xdg:/var/lib/menu-xdg", "menus", NULL, "xdgconf-menu"); if (!ecore_desktop_paths_directories) ecore_desktop_paths_directories = |