From 0cd0f8435131a23d216ee6f0f1ea866803ba625e Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 6 May 2010 15:17:57 +0100 Subject: 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 file changed, 1 insertion(+) 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); -- cgit v1.2.3