From b06a8cc610490dd051eb313c0e0b8a455feef655 Mon Sep 17 00:00:00 2001 From: Harish Krishnaswamy Date: Mon, 2 Jan 2006 09:49:25 +0000 Subject: The timezone should be set on the task we are trying to open - not on the 2006-01-02 Harish Krishnaswamy * gui/e-tasks.c: (open_ecal): The timezone should be set on the task we are trying to open - not on the default. Fixes #325489. svn path=/trunk/; revision=31019 --- calendar/ChangeLog | 8 ++++++++ calendar/gui/e-tasks.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 4ceb714b8b..cd80a0bf4c 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,11 @@ +2006-01-02 Harish Krishnaswamy + + reviewed by: Chenthill Palanisamy + + * gui/e-tasks.c: (open_ecal): The timezone should be set on + the task we are trying to open - not on the default. + Fixes #325489. + 2006-01-02 Harish Krishnaswamy * gui/dialogs/cal-prefs-dialog.c: (show_fb_config): diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c index 864b607a0e..8a6cc8856c 100644 --- a/calendar/gui/e-tasks.c +++ b/calendar/gui/e-tasks.c @@ -952,7 +952,7 @@ open_ecal (ETasks *tasks, ECal *cal, gboolean only_if_exists, open_func of) priv = tasks->priv; zone = calendar_config_get_icaltimezone (); - e_cal_set_default_timezone (priv->default_client, zone, NULL); + e_cal_set_default_timezone (cal, zone, NULL); set_status_message (tasks, _("Opening tasks at %s"), e_cal_get_uri (cal)); -- cgit v1.2.3