Make eruler properly relocatable.

This commit is contained in:
Tom Hacohen 2014-10-08 12:35:50 +01:00
parent ee5570a4fa
commit 6c39d053b8
1 changed files with 4 additions and 0 deletions

View File

@ -2443,7 +2443,11 @@ elm_main(int argc, char **argv)
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
elm_app_compile_bin_dir_set(PACKAGE_BIN_DIR);
elm_app_compile_lib_dir_set(PACKAGE_LIB_DIR);
elm_app_compile_data_dir_set(PACKAGE_DATA_DIR);
#if HAVE_GETTEXT && ENABLE_NLS
elm_app_compile_locale_set(LOCALEDIR);
#endif
elm_app_info_set(elm_main, "eruler", "themes/default.edj");
snprintf(theme_file, sizeof(theme_file), "%s/themes/default.edj",