aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/tasks-component.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-08-08 06:32:15 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-08-08 06:32:15 +0800
commit2ff03903a0e8f58fd5357ed43bc3af1bcb6ce6a0 (patch)
treeae336bb4701045a13bff723c8bdbdfe10f5b2e45 /calendar/gui/tasks-component.c
parentb97f782b8cbb101671f63e1d1c7eb29f288777ea (diff)
downloadgsoc2013-evolution-2ff03903a0e8f58fd5357ed43bc3af1bcb6ce6a0.tar
gsoc2013-evolution-2ff03903a0e8f58fd5357ed43bc3af1bcb6ce6a0.tar.gz
gsoc2013-evolution-2ff03903a0e8f58fd5357ed43bc3af1bcb6ce6a0.tar.bz2
gsoc2013-evolution-2ff03903a0e8f58fd5357ed43bc3af1bcb6ce6a0.tar.lz
gsoc2013-evolution-2ff03903a0e8f58fd5357ed43bc3af1bcb6ce6a0.tar.xz
gsoc2013-evolution-2ff03903a0e8f58fd5357ed43bc3af1bcb6ce6a0.tar.zst
gsoc2013-evolution-2ff03903a0e8f58fd5357ed43bc3af1bcb6ce6a0.zip
Fixes #62021
004-08-06 JP Rosevear <jpr@ximian.com> Fixes #62021 * gui/dialogs/event-page.c (source_changed_cb): set the default timezone * gui/e-itip-control.c (start_calendar_server): set the default timezone * gui/calendar-component.c (setup_create_ecal): set the default timezone, as the component view is not alive and hence has not set it * gui/tasks-component.c (setup_create_ecal): ditto svn path=/trunk/; revision=26849
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;