From 41f0ff035bef7fb14e4ede5aa36c71e8948731b9 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 12 May 2007 00:06:50 +0000 Subject: [PATCH] look for themes where they were installed by make install first --- parser/parse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/parser/parse.c b/parser/parse.c index 16745650..85ffc151 100644 --- a/parser/parse.c +++ b/parser/parse.c @@ -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), -- 2.45.2