Enlightenment CVS committal
Author : englebass
Project : e_modules
Module : alarm
Dir : e_modules/alarm
Modified Files:
e_mod_main.c
Log Message:
Use module dir for nls, make modules relocateable.
===================================================================
RCS file: /cvs/e/e_modules/alarm/e_mod_main.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_mod_main.c 2 Nov 2007 12:22:16 -0000 1.8
+++ e_mod_main.c 12 Nov 2007 04:15:51 -0000 1.9
@@ -994,6 +994,10 @@
char buf[4096];
Evas_List *l;
+ snprintf(buf, sizeof(buf), "%s/locale", e_module_dir_get(m));
+ bindtextdomain(PACKAGE, buf);
+ bind_textdomain_codeset(PACKAGE, "UTF-8");
+
_alarms_edd = E_CONFIG_DD_NEW("Alarm_Alarm", Alarm);
#undef T
#undef D
-------------------------------------------------------------------------
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