diff options
author | Rob Bradford <rob@linux.intel.com> | 2010-05-06 22:17:57 +0800 |
---|---|---|
committer | Rob Bradford <rob@linux.intel.com> | 2010-05-10 20:18:11 +0800 |
commit | 0cd0f8435131a23d216ee6f0f1ea866803ba625e (patch) | |
tree | 8367091ef91f05295b0a4eb481f43f48edad63f0 | |
parent | a56bf15a5dca91b8b7bce593c939ec6404ae37b6 (diff) | |
download | gsoc2013-empathy-0cd0f8435131a23d216ee6f0f1ea866803ba625e.tar gsoc2013-empathy-0cd0f8435131a23d216ee6f0f1ea866803ba625e.tar.gz gsoc2013-empathy-0cd0f8435131a23d216ee6f0f1ea866803ba625e.tar.bz2 gsoc2013-empathy-0cd0f8435131a23d216ee6f0f1ea866803ba625e.tar.lz gsoc2013-empathy-0cd0f8435131a23d216ee6f0f1ea866803ba625e.tar.xz gsoc2013-empathy-0cd0f8435131a23d216ee6f0f1ea866803ba625e.tar.zst gsoc2013-empathy-0cd0f8435131a23d216ee6f0f1ea866803ba625e.zip |
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
-rw-r--r-- | 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 2f06ae902..ff7ed34ed 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); |