← Back to team overview

ayatana-commits team mailing list archive

[Merge] lp:~kelemeng/indicator-datetime/bug853130 into lp:indicator-datetime

 

Gabor Kelemen has proposed merging lp:~kelemeng/indicator-datetime/bug853130 into lp:indicator-datetime.

Requested reviews:
  Indicator Applet Developers (indicator-applet-developers)
Related bugs:
  Bug #853130 in Indicator Date and Time: "Untranslated string in indicator-datetime"
  https://bugs.launchpad.net/indicator-datetime/+bug/853130

For more details, see:
https://code.launchpad.net/~kelemeng/indicator-datetime/bug853130/+merge/75889
-- 
https://code.launchpad.net/~kelemeng/indicator-datetime/bug853130/+merge/75889
Your team ayatana-commits is subscribed to branch lp:indicator-datetime.
=== modified file 'src/datetime-prefs-locations.c'
--- src/datetime-prefs-locations.c	2011-04-11 12:08:12 +0000
+++ src/datetime-prefs-locations.c	2011-09-18 10:19:28 +0000
@@ -421,6 +421,7 @@
 {
   GError * error = NULL;
   GtkBuilder * builder = gtk_builder_new ();
+  gtk_builder_set_translation_domain (builder, GETTEXT_PACKAGE);
   gtk_builder_add_from_file (builder, DATETIME_DIALOG_UI_FILE, &error);
   if (error != NULL) {
     /* We have to abort, we can't continue without the ui file */
@@ -429,8 +430,6 @@
     return NULL;
   }
 
-  gtk_builder_set_translation_domain (builder, GETTEXT_PACKAGE);
-
   GSettings * conf = g_settings_new (SETTINGS_INTERFACE);
 
 #define WIG(name) GTK_WIDGET (gtk_builder_get_object (builder, name))


Follow ups