diff options
Diffstat (limited to 'calendar/gui/alarm-notify')
-rw-r--r-- | calendar/gui/alarm-notify/alarm-notify.c | 5 |
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); |