summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-08-21 14:30:50 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-08-21 14:30:50 (GMT)
commit0f73369ad9cd15cb17ae44aadfc035cb12778b93 (patch)
tree62ac147a79801bbfa34f0af36cd8430486d25680 /src
parent62eb3b9716f4d3ecbb7727c7a01c0564129f0111 (diff)
Fixed installation directories.
Diffstat (limited to 'src')
-rw-r--r--src/core/core.c2
-rw-r--r--src/gui/core/theme.c2
-rw-r--r--src/main.c3
3 files changed, 4 insertions, 3 deletions
diff --git a/src/core/core.c b/src/core/core.c
index 6ba54c1..b382e34 100644
--- a/src/core/core.c
+++ b/src/core/core.c
@@ -71,7 +71,7 @@ bool load_all_basic_components(void)
srand(time(NULL) + getpid());
- add_pixmap_directory(PACKAGE_DATA_DIR);
+ add_pixmap_directory(PIXMAPS_DIR);
add_pixmap_directory(PACKAGE_SOURCE_DIR G_DIR_SEPARATOR_S "pixmaps");
cfgdir = get_xdg_config_dir("chrysalide" G_DIR_SEPARATOR_S "chrysalide");
diff --git a/src/gui/core/theme.c b/src/gui/core/theme.c
index 7719573..895a1a5 100644
--- a/src/gui/core/theme.c
+++ b/src/gui/core/theme.c
@@ -56,7 +56,7 @@ static bool look_for_named_theme(GdkScreen *, const char *, const char *, gboole
static const char *_themes_directories[] = {
PACKAGE_SOURCE_DIR G_DIR_SEPARATOR_S "themes",
- PACKAGE_DATA_DIR G_DIR_SEPARATOR_S "themes",
+ THEMES_DIR,
NULL
};
diff --git a/src/main.c b/src/main.c
index 64d5d2b..27f5f94 100644
--- a/src/main.c
+++ b/src/main.c
@@ -122,7 +122,8 @@ static void show_chrysalide_version(void)
printf("\n");
- printf(_("Data directory: %s\n"), PACKAGE_DATA_DIR);
+ printf(_("Pictures directory: %s\n"), PIXMAPS_DIR);
+ printf(_("Themes directory: %s\n"), THEMES_DIR);
printf(_("Plugins directory: %s\n"), PLUGINS_DIR);
printf(_("Locale directory: %s\n"), LOCALE_DIR);