ayatana-commits team mailing list archive
-
ayatana-commits team
-
Mailing list archive
-
Message #03938
[Merge] lp:~kelemeng/indicator-datetime/bug845473 into lp:indicator-datetime
Gabor Kelemen has proposed merging lp:~kelemeng/indicator-datetime/bug845473 into lp:indicator-datetime.
Requested reviews:
Indicator Applet Developers (indicator-applet-developers)
Related bugs:
Bug #845473 in Indicator Date and Time: "Strings from indicator-datetime do not appear translated"
https://bugs.launchpad.net/indicator-datetime/+bug/845473
For more details, see:
https://code.launchpad.net/~kelemeng/indicator-datetime/bug845473/+merge/74745
--
https://code.launchpad.net/~kelemeng/indicator-datetime/bug845473/+merge/74745
Your team ayatana-commits is subscribed to branch lp:indicator-datetime.
=== modified file 'src/datetime-prefs.c'
--- src/datetime-prefs.c 2011-08-16 13:05:22 +0000
+++ src/datetime-prefs.c 2011-09-09 09:48:37 +0000
@@ -653,6 +653,7 @@
GError * error = 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, DATETIME_DIALOG_UI_FILE, &error);
if (error != NULL) {
/* We have to abort, we can't continue without the ui file */
@@ -661,8 +662,6 @@
return;
}
- gtk_builder_set_translation_domain (self->priv->builder, GETTEXT_PACKAGE);
-
GSettings * conf = g_settings_new (SETTINGS_INTERFACE);
#define WIG(name) GTK_WIDGET (gtk_builder_get_object (self->priv->builder, name))
Follow ups