summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-10-08 12:35:50 +0100
committerTom Hacohen <tom@stosb.com>2014-10-08 12:35:50 +0100
commit6c39d053b8c0fb03ba74375fae0fd020e2e9729a (patch)
tree450b8dc53c4de0ecc8afd369f5f24e6fa30e7f3f
parentee5570a4fa0967199ee6b180a9d6d486c5b4cfd7 (diff)
Make eruler properly relocatable.
-rw-r--r--src/bin/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index 3ad74c1..de52be9 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -2443,7 +2443,11 @@ elm_main(int argc, char **argv)
2443 2443
2444 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); 2444 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
2445 elm_app_compile_bin_dir_set(PACKAGE_BIN_DIR); 2445 elm_app_compile_bin_dir_set(PACKAGE_BIN_DIR);
2446 elm_app_compile_lib_dir_set(PACKAGE_LIB_DIR);
2446 elm_app_compile_data_dir_set(PACKAGE_DATA_DIR); 2447 elm_app_compile_data_dir_set(PACKAGE_DATA_DIR);
2448#if HAVE_GETTEXT && ENABLE_NLS
2449 elm_app_compile_locale_set(LOCALEDIR);
2450#endif
2447 elm_app_info_set(elm_main, "eruler", "themes/default.edj"); 2451 elm_app_info_set(elm_main, "eruler", "themes/default.edj");
2448 2452
2449 snprintf(theme_file, sizeof(theme_file), "%s/themes/default.edj", 2453 snprintf(theme_file, sizeof(theme_file), "%s/themes/default.edj",