aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-prefs-locations.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-09-29 16:43:39 -0400
committerKen VanDine <ken.vandine@canonical.com>2011-09-29 16:43:39 -0400
commit31bf779fb487a859ff21910a652faeae2f116b63 (patch)
tree3d1cfc3904bb3e0e7a2a92c1a28520c3a1301e15 /src/datetime-prefs-locations.c
parent95fcdc5a0e1e2d4184149e2354f0cb33d6755d48 (diff)
parente569f3e9744146d5e9d3bfee21092def7350043b (diff)
downloadayatana-indicator-datetime-31bf779fb487a859ff21910a652faeae2f116b63.tar.gz
ayatana-indicator-datetime-31bf779fb487a859ff21910a652faeae2f116b63.tar.bz2
ayatana-indicator-datetime-31bf779fb487a859ff21910a652faeae2f116b63.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))