aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-itip-control.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/e-itip-control.c
parentb97f782b8cbb101671f63e1d1c7eb29f288777ea (diff)
downloadgsoc2013-evolution-2ff03903a0e8f58fd5357ed43bc3af1bcb6ce6a0.tar.gz
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/e-itip-control.c')
-rw-r--r--calendar/gui/e-itip-control.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c
index 881deb8773..9454961661 100644
--- a/calendar/gui/e-itip-control.c
+++ b/calendar/gui/e-itip-control.c
@@ -131,6 +131,7 @@ start_calendar_server (EItipControl *itip, ESource *source, ECalSourceType type)
{
EItipControlPrivate *priv;
ECal *ecal;
+ icaltimezone *zone;
priv = itip->priv;
@@ -142,6 +143,9 @@ start_calendar_server (EItipControl *itip, ESource *source, ECalSourceType type)
if (!e_cal_open (ecal, TRUE, NULL))
return NULL;
+ zone = calendar_config_get_icaltimezone ();
+ e_cal_set_default_timezone (ecal, zone, NULL);
+
g_hash_table_insert (priv->ecals[type], g_strdup (e_source_peek_uid (source)), ecal);
return ecal;