[gnome-bluetooth] properties: Fix translation of the GtkBuilder UI



commit 8e4836c2ecd3149008dac9d7716a0d0a4f0f0575
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Mar 13 17:46:44 2011 +0000

    properties: Fix translation of the GtkBuilder UI
    
    Spotted by Kjartan Maraas.

 properties/cc-bluetooth-panel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/properties/cc-bluetooth-panel.c b/properties/cc-bluetooth-panel.c
index 8e1d6be..c2180a4 100644
--- a/properties/cc-bluetooth-panel.c
+++ b/properties/cc-bluetooth-panel.c
@@ -505,6 +505,7 @@ cc_bluetooth_panel_init (CcBluetoothPanel *self)
 	self->priv->debug = g_getenv ("BLUETOOTH_DEBUG") != NULL;
 
 	self->priv->builder = gtk_builder_new ();
+	gtk_builder_set_translation_domain (self->priv->builder, GETTEXT_PACKAGE);
 	gtk_builder_add_from_file (self->priv->builder,
 				   PKGDATADIR "/bluetooth.ui",
 				   &error);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]