Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : moon

Dir     : e_modules/moon/src


Modified Files:
        e_mod_main.c 


Log Message:
locale should be in the modules dir

===================================================================
RCS file: /cvs/e/e_modules/moon/src/e_mod_main.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- e_mod_main.c        2 Nov 2007 12:22:16 -0000       1.11
+++ e_mod_main.c        12 Nov 2007 07:45:15 -0000      1.12
@@ -95,8 +95,11 @@
 EAPI void *
 e_modapi_init(E_Module *module)
 {
+   char buf[4096];
+
    /* Set up module message catalog */
-   bindtextdomain(PACKAGE, LOCALEDIR);
+   snprintf(buf, sizeof(buf), "%s/locale", e_module_dir_get(m));
+   bindtextdomain(PACKAGE, buf);
    bind_textdomain_codeset(PACKAGE, "UTF-8");
 
    moon_config_init(module);



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to