[empathy] ui-utils: Set translation domain on GtkBuilder UIs
- From: Rob Bradford <rbradford src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] ui-utils: Set translation domain on GtkBuilder UIs
- Date: Mon, 10 May 2010 12:18:26 +0000 (UTC)
commit 0cd0f8435131a23d216ee6f0f1ea866803ba625e
Author: Rob Bradford <rob linux intel com>
Date: Thu May 6 15:17:57 2010 +0100
ui-utils: Set translation domain on GtkBuilder UIs
This is necessary for when GtkBuilder UIs are used outside of the main Empathy
process.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=617909
libempathy-gtk/empathy-ui-utils.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 2f06ae9..ff7ed34 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -78,6 +78,7 @@ builder_get_file_valist (const gchar *filename,
DEBUG ("Loading file %s", filename);
gui = gtk_builder_new ();
+ gtk_builder_set_translation_domain (gui, GETTEXT_PACKAGE);
if (!gtk_builder_add_from_file (gui, filename, &error)) {
g_critical ("GtkBuilder Error (%s): %s",
filename, error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]