aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-prefs.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-09-15 10:11:23 -0500
committerTed Gould <ted@gould.cx>2011-09-15 10:11:23 -0500
commit34a42266114d26f09a7470706cc43196ebe8b302 (patch)
treed05de54865c95284d29924031d1db09582feb3b9 /src/datetime-prefs.c
parent8f8de9ac5d3a35a21606335aa23ceccca6f2a223 (diff)
parent59a60d1e418b2ad975a58890e9e925f5a6f6e013 (diff)
downloadayatana-indicator-datetime-34a42266114d26f09a7470706cc43196ebe8b302.tar.gz
ayatana-indicator-datetime-34a42266114d26f09a7470706cc43196ebe8b302.tar.bz2
ayatana-indicator-datetime-34a42266114d26f09a7470706cc43196ebe8b302.zip
* New upstream release.
* Set default timezone on events without (LP: #837359) * Update docs to specify correct custom formats (LP: #775113) * Use GNOME wall clock interface for time (LP: #837440) * Remove add event when using greeter (LP: #836521) * Fix gettext domain for builder files (LP: #845473) * Update date correctly when opening menu (LP: #793450)
Diffstat (limited to 'src/datetime-prefs.c')
-rw-r--r--src/datetime-prefs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/datetime-prefs.c b/src/datetime-prefs.c
index e7fef5d..5ace8c4 100644
--- a/src/datetime-prefs.c
+++ b/src/datetime-prefs.c
@@ -653,6 +653,7 @@ indicator_datetime_panel_init (IndicatorDatetimePanel * self)
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 @@ indicator_datetime_panel_init (IndicatorDatetimePanel * self)
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))