/usr/local/share should also be in XDG_DATA_DIRS

SVN revision: 45496
This commit is contained in:
Sebastian Dransfeld 2010-01-23 18:55:27 +00:00
parent 18c8ea2e96
commit 6833eadf64
1 changed files with 2 additions and 2 deletions

View File

@ -126,11 +126,11 @@ efreet_data_dirs_get(void)
if (xdg_data_dirs) return xdg_data_dirs;
#ifdef _WIN32
snprintf(buf, 4096, "%s\\Efl;" PACKAGE_DATA_DIR ";/usr/share", getenv("APPDATA"));
snprintf(buf, 4096, "%s\\Efl;" PACKAGE_DATA_DIR ";/usr/share;/usr/local/share", getenv("APPDATA"));
xdg_data_dirs = efreet_dirs_get("XDG_DATA_DIRS", buf);
#else
xdg_data_dirs = efreet_dirs_get("XDG_DATA_DIRS",
PACKAGE_DATA_DIR ":/usr/share");
PACKAGE_DATA_DIR ":/usr/share:/usr/local/share");
#endif
return xdg_data_dirs;
}