aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-02-25 20:16:07 +0800
committerMilan Crha <mcrha@src.gnome.org>2009-02-25 20:16:07 +0800
commit33cbf2ebfdb49ced8436654f4a90450d16c0a8dd (patch)
tree55f4e9e51c878619ec9526c5ee82280b7b690ca4 /calendar/gui/alarm-notify
parent2524908adb95ff6e01b3c9d430f2ede4afbb3cca (diff)
downloadgsoc2013-evolution-33cbf2ebfdb49ced8436654f4a90450d16c0a8dd.tar.gz
gsoc2013-evolution-33cbf2ebfdb49ced8436654f4a90450d16c0a8dd.tar.zst
gsoc2013-evolution-33cbf2ebfdb49ced8436654f4a90450d16c0a8dd.zip
** Fix for bug #558366
2009-02-25 Milan Crha <mcrha@redhat.com> ** Fix for bug #558366 * gui/alarm-notify/alarm-notify.c: (alarm_notify_add_calendar): Set default timezone to resolve floating DATE-TIME properly. svn path=/trunk/; revision=37338
Diffstat (limited to 'calendar/gui/alarm-notify')
-rw-r--r--calendar/gui/alarm-notify/alarm-notify.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/alarm-notify/alarm-notify.c b/calendar/gui/alarm-notify/alarm-notify.c
index 7afa854426..38a3b49e9f 100644
--- a/calendar/gui/alarm-notify/alarm-notify.c
+++ b/calendar/gui/alarm-notify/alarm-notify.c
@@ -389,6 +389,8 @@ alarm_notify_add_calendar (AlarmNotify *an, ECalSourceType source_type, ESource
d (printf("%s:%d (alarm_notify_add_calendar) %s - Calendar Open Async... %p\n", __FILE__, __LINE__, str_uri, client));
g_hash_table_insert (priv->uri_client_hash[source_type], g_strdup (str_uri), client);
g_signal_connect (G_OBJECT (client), "cal_opened", G_CALLBACK (cal_opened_cb), an);
+ /* to resolve floating DATE-TIME properly */
+ e_cal_set_default_timezone (client, config_data_get_timezone (), NULL);
e_cal_open_async (client, FALSE);
}
g_free (str_uri);