look for themes where they were installed by make install first
authorDana Jansens <danakj@orodu.net>
Sat, 12 May 2007 00:06:50 +0000 (00:06 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 12 May 2007 00:06:50 +0000 (00:06 +0000)
parser/parse.c

index 1674565..85ffc15 100644 (file)
@@ -417,6 +417,9 @@ void parse_paths_startup()
         xdg_data_dir_paths = split_paths(path);
     else {
         xdg_data_dir_paths = slist_path_add(xdg_data_dir_paths,
+                                            g_strdup(DATADIR),
+                                            (GSListFunc) g_slist_append);
+        xdg_data_dir_paths = slist_path_add(xdg_data_dir_paths,
                                             g_build_filename
                                             (G_DIR_SEPARATOR_S,
                                              "usr", "local", "share", NULL),
@@ -426,9 +429,6 @@ void parse_paths_startup()
                                             (G_DIR_SEPARATOR_S,
                                              "usr", "share", NULL),
                                             (GSListFunc) g_slist_append);
-        xdg_data_dir_paths = slist_path_add(xdg_data_dir_paths,
-                                            g_strdup(DATADIR),
-                                            (GSListFunc) g_slist_append);
     }
     xdg_data_dir_paths = slist_path_add(xdg_data_dir_paths,
                                         g_strdup(xdg_data_home_path),