[gnome-tweak-tool] Translate again the window title from GtkBuilder
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweak-tool] Translate again the window title from GtkBuilder
- Date: Mon, 10 Sep 2012 08:39:18 +0000 (UTC)
commit 39ecf90e54be539e540ea9bb5dfbbb6aa797c6fe
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Sun Sep 9 16:21:52 2012 +0200
Translate again the window title from GtkBuilder
Python gettext is broken, in that it does not set textdomain or bindtextdomain
for apps calling gettext from C, so GtkBuilder translations don't work.
https://bugzilla.gnome.org/show_bug.cgi?id=683630
gtweak/tweakview.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtweak/tweakview.py b/gtweak/tweakview.py
index 6991014..0b71eb5 100644
--- a/gtweak/tweakview.py
+++ b/gtweak/tweakview.py
@@ -44,6 +44,7 @@ class TweakView:
self._detail_vbox = builder.get_object('detail_vbox')
self._main_window = builder.get_object('main_window')
+ self._main_window.props.title = gettext(self._main_window.props.title)
self._main_window.set_size_request(640, 480)
self._main_window.connect('destroy', Gtk.main_quit)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]