diff options
Diffstat (limited to 'calendar/gui/calendar-component.c')
-rw-r--r-- | calendar/gui/calendar-component.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index 5893181847..ba48b577bd 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -1145,6 +1145,9 @@ setup_create_ecal (CalendarComponent *calendar_component, CalendarComponentView if (priv->create_ecal) { icaltimezone *zone; + + zone = calendar_config_get_icaltimezone (); + e_cal_set_default_timezone (priv->create_ecal, zone, NULL); if (!e_cal_open (priv->create_ecal, FALSE, NULL)) { GtkWidget *dialog; @@ -1159,9 +1162,6 @@ setup_create_ecal (CalendarComponent *calendar_component, CalendarComponentView return NULL; } - zone = calendar_config_get_icaltimezone (); - e_cal_set_default_timezone (priv->create_ecal, zone, NULL); - } else { GtkWidget *dialog; |