Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : rain

Dir     : e_modules/rain


Modified Files:
        e_mod_main.c 


Log Message:
Use module dir for nls, make modules relocateable.

===================================================================
RCS file: /cvs/e/e_modules/rain/e_mod_main.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- e_mod_main.c        31 Oct 2007 14:24:14 -0000      1.26
+++ e_mod_main.c        12 Nov 2007 04:15:52 -0000      1.27
@@ -25,7 +25,8 @@
    char buf[4096];
 
    /* Set up module's message catalogue */
-   bindtextdomain(PACKAGE, LOCALEDIR);
+   snprintf(buf, sizeof(buf), "%s/locale", e_module_dir_get(m));
+   bindtextdomain(PACKAGE, buf);
    bind_textdomain_codeset(PACKAGE, "UTF-8");
 
    snprintf(buf, sizeof(buf), "%s/e-module-rain.edj", e_module_dir_get(m));



-------------------------------------------------------------------------
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