aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2008-02-11 12:33:55 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2008-02-11 12:33:55 +0800
commit91138e7def4787e676a699aedda17aeeca969d00 (patch)
tree3a4b5af965cace677d9bc8fbfbbd0b2df6e55f4e
parent3d85ee95724f8743d756dda91e239670ada01f00 (diff)
downloadgsoc2013-evolution-91138e7def4787e676a699aedda17aeeca969d00.tar.gz
gsoc2013-evolution-91138e7def4787e676a699aedda17aeeca969d00.tar.zst
gsoc2013-evolution-91138e7def4787e676a699aedda17aeeca969d00.zip
Google Calendar alarm works now.
2008-02-11 Srinivasa Ragavan <sragavan@novell.com> * gui/alarm-notify/alarm-notify.c: (alarm_notify_add_calendar): Google Calendar alarm works now. svn path=/trunk/; revision=34988
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/alarm-notify/alarm-notify.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 59dadce6cc..b052ec4613 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-11 Srinivasa Ragavan <sragavan@novell.com>
+
+ * gui/alarm-notify/alarm-notify.c: (alarm_notify_add_calendar): Google
+ Calendar alarm works now.
+
2008-02-10 Suman Manjunath <msuman@novell.com>
** Fix for bug #510642
diff --git a/calendar/gui/alarm-notify/alarm-notify.c b/calendar/gui/alarm-notify/alarm-notify.c
index 570966ec14..411068193e 100644
--- a/calendar/gui/alarm-notify/alarm-notify.c
+++ b/calendar/gui/alarm-notify/alarm-notify.c
@@ -351,7 +351,10 @@ alarm_notify_add_calendar (AlarmNotify *an, ECalSourceType source_type, ESource
priv = an->priv;
str_uri = e_source_get_uri (source);
e_uri = e_uri_new (str_uri);
- pass_key = e_uri_to_string (e_uri, FALSE);
+ if (e_source_get_property (source, "auth-type"))
+ pass_key = e_uri_to_string (e_uri, FALSE);
+ else
+ pass_key = g_strdup (str_uri);
e_uri_free (e_uri);
g_mutex_lock (an->priv->mutex);