Enlightenment CVS committal
Author : englebass
Project : e_modules
Module : mem
Dir : e_modules/mem
Modified Files:
e_mod_main.c
Log Message:
Use module dir for nls, make modules relocateable.
===================================================================
RCS file: /cvs/e/e_modules/mem/e_mod_main.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -3 -r1.47 -r1.48
--- e_mod_main.c 1 Nov 2007 10:41:41 -0000 1.47
+++ e_mod_main.c 12 Nov 2007 04:15:52 -0000 1.48
@@ -277,7 +277,10 @@
EAPI void *
e_modapi_init (E_Module * m)
{
- bindtextdomain (PACKAGE, LOCALEDIR);
+ char buf[4096];
+
+ snprintf (buf, sizeof (buf), "%s/locale", e_module_dir_get (m));
+ bindtextdomain (PACKAGE, buf);
bind_textdomain_codeset (PACKAGE, "UTF-8");
conf_item_edd = E_CONFIG_DD_NEW ("Mem_Config_Item", Config_Item);
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs