forked from enlightenment/efl
parent
e805dcd370
commit
b7a277efa0
|
@ -302,14 +302,18 @@ efreet_dirs_init(void)
|
|||
|
||||
/* xdg_data_dirs */
|
||||
#ifdef _WIN32
|
||||
snprintf(buf, sizeof(buf), "%s\\Efl;" DATA_DIR ";/usr/share;/usr/local/share", getenv("APPDATA"));
|
||||
snprintf(buf, sizeof(buf), "%s\\Efl;" DATA_DIR ";", getenv("APPDATA"));
|
||||
xdg_data_dirs = efreet_dirs_get("XDG_DATA_DIRS", buf);
|
||||
#else
|
||||
xdg_data_dirs = efreet_dirs_get("XDG_DATA_DIRS",
|
||||
DATA_DIR ":/usr/share:/usr/local/share");
|
||||
#endif
|
||||
/* xdg_config_dirs */
|
||||
#ifdef _WIN32
|
||||
xdg_config_dirs = efreet_dirs_get("XDG_CONFIG_DIRS", getenv("APPDATA"));
|
||||
#else
|
||||
xdg_config_dirs = efreet_dirs_get("XDG_CONFIG_DIRS", "/etc/xdg");
|
||||
#endif
|
||||
|
||||
/* xdg_runtime_dir */
|
||||
#if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
|
||||
|
|
Loading…
Reference in New Issue