diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-08-02 22:44:21 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-08-02 22:44:21 -0300 |
commit | 14bd787d8a4e9ad7acb41292e82b31c08bfc5b34 (patch) | |
tree | 78ab9f09f812ad24bf7c8051ecb50a58a25f3344 | |
parent | 544edd0ee84cf490ef3eb08465e7aa250a0d6bd9 (diff) | |
download | tuna-14bd787d8a4e9ad7acb41292e82b31c08bfc5b34.tar.gz |
glade: Call gtk.glade.[bind]textdomain
So that the glade translations can be properly rendered.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rwxr-xr-x | tuna/tuna_gui.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tuna/tuna_gui.py b/tuna/tuna_gui.py index 6690017..b267aee 100755 --- a/tuna/tuna_gui.py +++ b/tuna/tuna_gui.py @@ -18,6 +18,10 @@ class main_gui: def __init__(self, show_kthreads = True, show_uthreads = True, cpus_filtered = []): global tuna_glade + (app, localedir) = ('tuna', '/usr/share/locale') + gtk.glade.bindtextdomain(app, localedir) + gtk.glade.textdomain(app) + if self.check_root(): sys.exit(1) for dir in tuna_glade_dirs: |