[gnome-session] [capplet, gsm] Use the right translation domain for GtkBuilder
- From: Vincent Untz <vuntz src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-session] [capplet, gsm] Use the right translation domain for GtkBuilder
- Date: Wed, 24 Jun 2009 13:55:35 +0000 (UTC)
commit 5285037eb9a022581e4921b13c7d1ed032afb045
Author: Vincent Untz <vuntz gnome org>
Date: Tue Jun 23 14:26:47 2009 +0200
[capplet,gsm] Use the right translation domain for GtkBuilder
capplet/gsm-app-dialog.c | 2 +-
capplet/gsm-properties-dialog.c | 2 +-
gnome-session/gsm-inhibit-dialog.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/capplet/gsm-app-dialog.c b/capplet/gsm-app-dialog.c
index 3a2364e..91035e0 100644
--- a/capplet/gsm-app-dialog.c
+++ b/capplet/gsm-app-dialog.c
@@ -156,7 +156,7 @@ setup_dialog (GsmAppDialog *dialog)
GError *error;
xml = gtk_builder_new ();
- gtk_builder_set_translation_domain(xml, PACKAGE);
+ gtk_builder_set_translation_domain (xml, GETTEXT_PACKAGE);
error = NULL;
if (!gtk_builder_add_from_file (xml,
diff --git a/capplet/gsm-properties-dialog.c b/capplet/gsm-properties-dialog.c
index db411f9..7506592 100644
--- a/capplet/gsm-properties-dialog.c
+++ b/capplet/gsm-properties-dialog.c
@@ -687,7 +687,7 @@ gsm_properties_dialog_init (GsmPropertiesDialog *dialog)
NULL);
dialog->priv->xml = gtk_builder_new ();
- gtk_builder_set_translation_domain(dialog->priv->xml, PACKAGE);
+ gtk_builder_set_translation_domain (dialog->priv->xml, GETTEXT_PACKAGE);
error = NULL;
if (!gtk_builder_add_from_file (dialog->priv->xml,
diff --git a/gnome-session/gsm-inhibit-dialog.c b/gnome-session/gsm-inhibit-dialog.c
index 4ffa497..e48f898 100644
--- a/gnome-session/gsm-inhibit-dialog.c
+++ b/gnome-session/gsm-inhibit-dialog.c
@@ -1094,7 +1094,7 @@ gsm_inhibit_dialog_init (GsmInhibitDialog *dialog)
dialog->priv = GSM_INHIBIT_DIALOG_GET_PRIVATE (dialog);
dialog->priv->xml = gtk_builder_new ();
- gtk_builder_set_translation_domain(dialog->priv->xml, PACKAGE);
+ gtk_builder_set_translation_domain (dialog->priv->xml, GETTEXT_PACKAGE);
error = NULL;
if (!gtk_builder_add_from_file (dialog->priv->xml,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]