From ad19cbfc557121cc81cd3c4887a06dd55b4ce4a2 Mon Sep 17 00:00:00 2001 From: Zach Tibbitts Date: Tue, 6 Mar 2007 01:40:46 +0000 Subject: [PATCH] - --- src/delugegtk.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/delugegtk.py b/src/delugegtk.py index 5f3acce6e..088ebf0b0 100644 --- a/src/delugegtk.py +++ b/src/delugegtk.py @@ -33,8 +33,7 @@ class DelugeGTK: def __init__(self): APP = 'deluge' DIR = os.path.join(dcommon.INSTALL_PREFIX, 'share', 'locale') - gtk.glade.bindtextdomain(APP, DIR) - gtk.glade.textdomain(APP) + locale.setlocale(locale.LC_ALL, '') locale.bindtextdomain(APP, DIR) locale.textdomain(APP) gettext.bindtextdomain(APP, DIR)