look in sysconfdir before looking in /etc/xdg. this kinda violates the spec, i think...
authorDana Jansens <danakj@orodu.net>
Sun, 22 Apr 2007 00:29:33 +0000 (00:29 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 22 Apr 2007 00:29:33 +0000 (00:29 +0000)
parser/parse.c

index 63d53ce..52ab920 100644 (file)
@@ -394,13 +394,13 @@ void parse_paths_startup()
         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),