]> Dogcows Code - chaz/openbox/commitdiff
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 167456509e63a44e983ba1660dfb0f4669700ef4..85ffc15168e2b2b2b57d558b325ce2205b0ae230 100644 (file)
@@ -416,6 +416,9 @@ void parse_paths_startup()
     if (path && path[0] != '\0') /* not unset or empty */
         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,
@@ -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),
This page took 0.024327 seconds and 4 git commands to generate.