aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);