manager: get all connected sources

Added ::get_sources_connected API to retrieve a list of every source the
application has connected, no matter whether they are enabled or not.
Use ::get_sources_connected on calendars menu in GcalWindow to enable
disabled sources.
This commit is contained in:
Erick Pérez Castellanos
2014-12-22 08:38:20 -05:00
parent 761475e47b
commit 073719ef35
3 changed files with 21 additions and 3 deletions
+1 -1
View File
@@ -776,7 +776,7 @@ on_calendar_toggled (GSimpleAction *action,
/* lookup source */
source = NULL;
l = gcal_manager_get_sources (priv->manager);
l = gcal_manager_get_sources_connected (priv->manager);
for (aux = l; aux != NULL; aux = aux->next)
{