look in sysconfdir before looking in /etc/xdg. this kinda violates the spec, i think, but i don't see any other proper alternative really.
This commit is contained in:
parent
da04050c9a
commit
213426194f
1 changed files with 3 additions and 3 deletions
|
@ -393,14 +393,14 @@ void parse_paths_startup()
|
|||
if (path && path[0] != '\0') /* not unset or empty */
|
||||
xdg_config_dir_paths = split_paths(path);
|
||||
else {
|
||||
xdg_config_dir_paths = slist_path_add(xdg_config_dir_paths,
|
||||
g_strdup(CONFIGDIR),
|
||||
(GSListFunc) g_slist_append);
|
||||
xdg_config_dir_paths = slist_path_add(xdg_config_dir_paths,
|
||||
g_build_filename
|
||||
(G_DIR_SEPARATOR_S,
|
||||
"etc", "xdg", NULL),
|
||||
(GSListFunc) g_slist_append);
|
||||
xdg_config_dir_paths = slist_path_add(xdg_config_dir_paths,
|
||||
g_strdup(CONFIGDIR),
|
||||
(GSListFunc) g_slist_append);
|
||||
}
|
||||
xdg_config_dir_paths = slist_path_add(xdg_config_dir_paths,
|
||||
g_strdup(xdg_config_home_path),
|
||||
|
|
Loading…
Reference in a new issue