diff options
author | Gabor Kelemen <kelemeng@gnome.hu> | 2011-09-18 12:09:43 +0200 |
---|---|---|
committer | Gabor Kelemen <kelemeng@gnome.hu> | 2011-09-18 12:09:43 +0200 |
commit | d42f49e0a60625ca49d3f3d8d02e58506d6845e0 (patch) | |
tree | 01406e06b77e9f3955ce49968ab750d24c2beb39 | |
parent | 1272ced6625175ee20f4c6740a414152b09f9769 (diff) | |
download | ayatana-indicator-datetime-d42f49e0a60625ca49d3f3d8d02e58506d6845e0.tar.gz ayatana-indicator-datetime-d42f49e0a60625ca49d3f3d8d02e58506d6845e0.tar.bz2 ayatana-indicator-datetime-d42f49e0a60625ca49d3f3d8d02e58506d6845e0.zip |
Set translation domain before gtk_builder_add_from_file, in the other file too. LP: #853130
-rw-r--r-- | src/datetime-prefs-locations.c | 3 |
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)) |