diff options
author | Milan Crha <mcrha@redhat.com> | 2010-10-05 00:44:04 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-10-05 00:44:04 +0800 |
commit | f7ac9ca10a14643dabe456e197a9be3fe06cb30a (patch) | |
tree | 75fbadbc94d52752e8bcc511b4dd713c7fa56fcf /calendar/gui/alarm-notify/alarm-notify.c | |
parent | a9fc19b195dd0f2c7117dad3a00606afafe3544b (diff) | |
download | gsoc2013-evolution-f7ac9ca10a14643dabe456e197a9be3fe06cb30a.tar gsoc2013-evolution-f7ac9ca10a14643dabe456e197a9be3fe06cb30a.tar.gz gsoc2013-evolution-f7ac9ca10a14643dabe456e197a9be3fe06cb30a.tar.bz2 gsoc2013-evolution-f7ac9ca10a14643dabe456e197a9be3fe06cb30a.tar.lz gsoc2013-evolution-f7ac9ca10a14643dabe456e197a9be3fe06cb30a.tar.xz gsoc2013-evolution-f7ac9ca10a14643dabe456e197a9be3fe06cb30a.tar.zst gsoc2013-evolution-f7ac9ca10a14643dabe456e197a9be3fe06cb30a.zip |
Bug #615835 - Alarm not working for authenticated calendars
Diffstat (limited to 'calendar/gui/alarm-notify/alarm-notify.c')
-rw-r--r-- | calendar/gui/alarm-notify/alarm-notify.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/alarm-notify/alarm-notify.c b/calendar/gui/alarm-notify/alarm-notify.c index df6a8fc4f7..7722a7ee24 100644 --- a/calendar/gui/alarm-notify/alarm-notify.c +++ b/calendar/gui/alarm-notify/alarm-notify.c @@ -374,12 +374,13 @@ alarm_notify_add_calendar (AlarmNotify *an, ECalSourceType source_type, ESource const gchar *name = e_source_get_property (source, "auth-domain"); if (!name) - name = e_source_peek_name (source); + name = "Calendar"; if (!e_passwords_get_password (name, pass_key)) { g_mutex_unlock (an->priv->mutex); g_free (str_uri); g_free (pass_key); + return; } } @@ -394,6 +395,7 @@ alarm_notify_add_calendar (AlarmNotify *an, ECalSourceType source_type, ESource e_cal_set_default_timezone (client, config_data_get_timezone (), NULL); e_cal_open_async (client, FALSE); } + g_free (str_uri); g_free (pass_key); g_mutex_unlock (an->priv->mutex); |