aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-prefs-locations.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-09-29 15:38:31 -0500
committerTed Gould <ted@gould.cx>2011-09-29 15:38:31 -0500
commit521526d79aa03ceee72ae15f4d29c2173a95aa83 (patch)
tree551312e2628d0b5da063602c3e58d867a9f180bb /src/datetime-prefs-locations.c
parentd6dcd6734c7316d8ff59e3f8f8f6037466fce354 (diff)
parent4e2dc05c209906b1a0d01b1c9f12c26a8ce2cd6d (diff)
downloadayatana-indicator-datetime-521526d79aa03ceee72ae15f4d29c2173a95aa83.tar.gz
ayatana-indicator-datetime-521526d79aa03ceee72ae15f4d29c2173a95aa83.tar.bz2
ayatana-indicator-datetime-521526d79aa03ceee72ae15f4d29c2173a95aa83.zip
* New upstream release.
* Fix corrupt environment when LANGUAGE not set (LP: #861123) * Measure string size with GLib (LP: #730476) * Free ECals when they have errors (LP: #774071) * Fix untranslated string (LP: #853130)
Diffstat (limited to 'src/datetime-prefs-locations.c')
-rw-r--r--src/datetime-prefs-locations.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/datetime-prefs-locations.c b/src/datetime-prefs-locations.c
index af0e10d..d865efe 100644
--- a/src/datetime-prefs-locations.c
+++ b/src/datetime-prefs-locations.c
@@ -421,6 +421,7 @@ datetime_setup_locations_dialog (CcTimezoneMap * map)
{
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 @@ datetime_setup_locations_dialog (CcTimezoneMap * map)
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))