aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
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 /calendar/gui
parent3d85ee95724f8743d756dda91e239670ada01f00 (diff)
downloadgsoc2013-evolution-91138e7def4787e676a699aedda17aeeca969d00.tar
gsoc2013-evolution-91138e7def4787e676a699aedda17aeeca969d00.tar.gz
gsoc2013-evolution-91138e7def4787e676a699aedda17aeeca969d00.tar.bz2
gsoc2013-evolution-91138e7def4787e676a699aedda17aeeca969d00.tar.lz
gsoc2013-evolution-91138e7def4787e676a699aedda17aeeca969d00.tar.xz
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
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/alarm-notify/alarm-notify.c5
1 files changed, 4 insertions, 1 deletions
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);