Commit 83a1a31f authored by Vincent Untz's avatar Vincent Untz

[all] Make sure to call gtk_builder_set_translation_domain()

parent 8dce65e1
......@@ -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;
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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,
......
......@@ -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,
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment