aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/alarm-notify
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/alarm-notify')
-rw-r--r--calendar/alarm-notify/alarm-notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/alarm-notify/alarm-notify.c b/calendar/alarm-notify/alarm-notify.c
index 73fadc100c..e2733818fa 100644
--- a/calendar/alarm-notify/alarm-notify.c
+++ b/calendar/alarm-notify/alarm-notify.c
@@ -62,7 +62,7 @@ alarm_notify_load_calendars (AlarmNotify *an)
/* Add all available ESources. alarm_notify_add_calendar() will
* discard the ones we're not interested in (mail accounts, etc.). */
- list = e_source_registry_list_sources (an->priv->registry, NULL);
+ list = e_source_registry_list_enabled (an->priv->registry, NULL);
for (iter = list; iter != NULL; iter = g_list_next (iter))
alarm_notify_add_calendar (an, E_SOURCE (iter->data));