rpms/Terminal/F-12 Terminal-0.4.2-set-correct-gettext-domain.patch, NONE, 1.1
Christoph Wickert
cwickert at fedoraproject.org
Thu Oct 8 11:33:52 UTC 2009
Author: cwickert
Update of /cvs/pkgs/rpms/Terminal/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11343/F-12
Added Files:
Terminal-0.4.2-set-correct-gettext-domain.patch
Log Message:
add missing patch
Terminal-0.4.2-set-correct-gettext-domain.patch:
terminal-preferences-dialog.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
--- NEW FILE Terminal-0.4.2-set-correct-gettext-domain.patch ---
>From 5c955bb0435dca6d7114903d246cf2e4a215cc5e Mon Sep 17 00:00:00 2001
From: Nick Schermer <nick at xfce.org>
Date: Thu, 08 Oct 2009 09:44:36 +0000
Subject: Set the correct translation domain before reading the ui file (bug #5842).
---
diff --git a/terminal/terminal-preferences-dialog.c b/terminal/terminal-preferences-dialog.c
index 7836032..c3bc2cf 100644
--- a/terminal/terminal-preferences-dialog.c
+++ b/terminal/terminal-preferences-dialog.c
@@ -101,6 +101,11 @@ terminal_preferences_dialog_init (TerminalPreferencesDialog *dialog)
dialog->preferences = terminal_preferences_get ();
+ /* make sure the correct translation domain is set, since other programs
+ * could reset it, like for example the XFCE_LICENSE_GPL in terminal-dialogs.c,
+ * see http://bugzilla.xfce.org/show_bug.cgi?id=5842 */
+ xfce_textdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
+
/* hack to initialize the XfceTitledDialog class */
if (xfce_titled_dialog_get_type () == 0)
return;
--
cgit v0.8.2.1
More information about the fedora-extras-commits
mailing list