raster pushed a commit to branch master.

http://git.enlightenment.org/apps/rage.git/commit/?id=e1184dbf66d8d10bfc4ccc36c1295192521334dd

commit e1184dbf66d8d10bfc4ccc36c1295192521334dd
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sat Sep 20 23:04:44 2014 +0900

    rage main - sety up localedir if nls etc. set.
    
    no nls yet - but std setup
---
 src/bin/main.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/bin/main.c b/src/bin/main.c
index d23dcfd..2ef2e56 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -89,8 +89,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_data_dir_set(PACKAGE_DATA_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, "rage", "themes/default.edj");
 
 #if (ELM_VERSION_MAJOR > 1) || (ELM_VERSION_MINOR >= 10)

-- 


Reply via email to