[transmageddon] Fix gtkbuilder translation domain
- From: Christian Fredrik Kalager Schaller <uraeus src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [transmageddon] Fix gtkbuilder translation domain
- Date: Tue, 25 May 2010 14:42:02 +0000 (UTC)
commit 02197c81b66a3c493b243ec0fc5ff7eea63e3bf2
Author: Christian Schaller <christian schaller collabora co uk>
Date: Tue May 25 15:40:56 2010 +0100
Fix gtkbuilder translation domain
src/transmageddon.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/transmageddon.py b/src/transmageddon.py
index 5f2955a..5e36ba6 100644
--- a/src/transmageddon.py
+++ b/src/transmageddon.py
@@ -127,6 +127,9 @@ class TransmageddonUI:
gettext.textdomain("transmageddon")
self.builder = gtk.Builder()
+ # Set the translation domain of builder
+ # please note the call *right after* the builder is created
+ self.builder.set_translation_domain("transmageddon")
#Set the Glade file
self.uifile = "transmageddon.ui"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]