diff options
Diffstat (limited to 'calendar/gui/tasks-component.c')
-rw-r--r-- | calendar/gui/tasks-component.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c index 4dec0e6f00..185175ab65 100644 --- a/calendar/gui/tasks-component.c +++ b/calendar/gui/tasks-component.c @@ -863,6 +863,9 @@ setup_create_ecal (TasksComponent *component, TasksComponentView *component_view 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; @@ -877,8 +880,6 @@ setup_create_ecal (TasksComponent *component, TasksComponentView *component_view return NULL; } - zone = calendar_config_get_icaltimezone (); - e_cal_set_default_timezone (priv->create_ecal, zone, NULL); } else { GtkWidget *dialog; |