spek

Acoustic spectrum analyser
git clone http://git.hanabi.in/repos/spek.git
Log | Files | Refs | README

commit 9fa493b97352a0c69837442a44cc49c3bfebf8f2
parent 6857808656bdb7615c1de6b9d693435c0fd62818
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date:   Sat,  5 Mar 2011 19:29:09 +0800

Don't overwrite the preferences

Diffstat:
Msrc/spek.vala | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/spek.vala b/src/spek.vala @@ -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");