[gnome-panel] [all] Make sure to call gtk_builder_set_translation_domain()
- From: Vincent Untz <vuntz src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-panel] [all] Make sure to call gtk_builder_set_translation_domain()
- Date: Tue, 11 Aug 2009 15:02:16 +0000 (UTC)
commit 83a1a31f2a206507b6922b62c8c3f546ac5cdf1d
Author: Vincent Untz <vuntz gnome org>
Date: Tue Aug 11 17:02:01 2009 +0200
[all] Make sure to call gtk_builder_set_translation_domain()
applets/clock/clock.c | 1 +
applets/fish/fish.c | 1 +
applets/wncklet/window-list.c | 1 +
applets/wncklet/workspace-switcher.c | 1 +
gnome-panel/panel-properties-dialog.c | 1 +
gnome-panel/panel-run-dialog.c | 1 +
libpanel-applet/panel-test-applets.c | 1 +
7 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/applets/clock/clock.c b/applets/clock/clock.c
index 772512d..70b95ed 100644
--- a/applets/clock/clock.c
+++ b/applets/clock/clock.c
@@ -2594,6 +2594,7 @@ fill_clock_applet (PanelApplet *applet)
load_gconf_settings (cd);
cd->builder = gtk_builder_new ();
+ gtk_builder_set_translation_domain (cd->builder, GETTEXT_PACKAGE);
filename = g_build_filename (BUILDERDIR, "clock.ui", NULL);
error = NULL;
diff --git a/applets/fish/fish.c b/applets/fish/fish.c
index b4fda82..2fbfdcf 100644
--- a/applets/fish/fish.c
+++ b/applets/fish/fish.c
@@ -427,6 +427,7 @@ display_preferences_dialog (BonoboUIComponent *uic,
}
builder = gtk_builder_new ();
+ gtk_builder_set_translation_domain (builder, GETTEXT_PACKAGE);
error = NULL;
gtk_builder_add_from_file (builder, FISH_BUILDERDIR "/fish.ui", &error);
diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c
index 7f3659d..90d9f23 100644
--- a/applets/wncklet/window-list.c
+++ b/applets/wncklet/window-list.c
@@ -775,6 +775,7 @@ display_properties_dialog (BonoboUIComponent *uic,
GError *error;
builder = gtk_builder_new ();
+ gtk_builder_set_translation_domain (builder, GETTEXT_PACKAGE);
error = NULL;
gtk_builder_add_from_file (builder, TASKLIST_BUILDERDIR "/window-list.ui", &error);
diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c
index 2324514..8e2a08e 100644
--- a/applets/wncklet/workspace-switcher.c
+++ b/applets/wncklet/workspace-switcher.c
@@ -1044,6 +1044,7 @@ display_properties_dialog (BonoboUIComponent *uic,
GError *error;
builder = gtk_builder_new ();
+ gtk_builder_set_translation_domain (builder, GETTEXT_PACKAGE);
error = NULL;
gtk_builder_add_from_file (builder, PAGER_BUILDERDIR "/workspace-switcher.ui", &error);
diff --git a/gnome-panel/panel-properties-dialog.c b/gnome-panel/panel-properties-dialog.c
index 7c7a7cc..62ea7c0 100644
--- a/gnome-panel/panel-properties-dialog.c
+++ b/gnome-panel/panel-properties-dialog.c
@@ -1054,6 +1054,7 @@ panel_properties_dialog_present (PanelToplevel *toplevel)
}
gui = gtk_builder_new ();
+ gtk_builder_set_translation_domain (gui, GETTEXT_PACKAGE);
error = NULL;
gtk_builder_add_from_file (gui,
diff --git a/gnome-panel/panel-run-dialog.c b/gnome-panel/panel-run-dialog.c
index 32733c2..42b9496 100644
--- a/gnome-panel/panel-run-dialog.c
+++ b/gnome-panel/panel-run-dialog.c
@@ -2005,6 +2005,7 @@ panel_run_dialog_present (GdkScreen *screen,
}
gui = gtk_builder_new ();
+ gtk_builder_set_translation_domain (gui, GETTEXT_PACKAGE);
error = NULL;
gtk_builder_add_from_file (gui,
diff --git a/libpanel-applet/panel-test-applets.c b/libpanel-applet/panel-test-applets.c
index f7b2d30..bbc5581 100644
--- a/libpanel-applet/panel-test-applets.c
+++ b/libpanel-applet/panel-test-applets.c
@@ -314,6 +314,7 @@ main (int argc, char **argv)
}
builder = gtk_builder_new ();
+ gtk_builder_set_translation_domain (builder, GETTEXT_PACKAGE);
uifile = PANEL_APPLET_BUILDERDIR "/panel-test-applets.ui";
gtk_builder_add_from_file (builder, uifile, &error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]