aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/tasks-component.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/tasks-component.c')
-rw-r--r--calendar/gui/tasks-component.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c
index b3eb57995f..76843b264e 100644
--- a/calendar/gui/tasks-component.c
+++ b/calendar/gui/tasks-component.c
@@ -748,6 +748,8 @@ setup_create_ecal (TasksComponent *component, TasksComponentView *component_view
}
if (priv->create_ecal) {
+ icaltimezone *zone;
+
if (!e_cal_open (priv->create_ecal, FALSE, NULL)) {
GtkWidget *dialog;
@@ -760,6 +762,9 @@ 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;