Don't overwrite the preferences

This commit is contained in:
Alexander Kojevnikov committed 2011-03-05 19:29:09 +08:00
1 parent 6857808656
commit 9fa493b973
1 file changed
+2
+2
View File
@@ -34,6 +34,8 @@ namespace Spek {
if (prefs.language.length > 0) {
Environment.set_variable ("LC_ALL", prefs.language, true);
}
prefs = null;
// Intl.setlocale (LocaleCategory.ALL, prefs.language);
Intl.bindtextdomain (Config.GETTEXT_PACKAGE, Config.LOCALEDIR);
Intl.bind_textdomain_codeset (Config.GETTEXT_PACKAGE, "UTF-8");