manager: notify when sources are enabled/disabled

Add the new signal for GcalManager::source-enabled that
notifies connected widgets about the source change. With
that, we can keep checkboxes syncronizes.
This commit is contained in:
Georges Basile Stavracas Neto
2015-05-25 12:35:58 -04:00
committed by Erick Pérez Castellanos
parent 023a79a90f
commit 2b4e46a4b6
4 changed files with 49 additions and 0 deletions
+1
View File
@@ -50,6 +50,7 @@ struct _GcalManagerClass
void (*source_activated) (GcalManager *manager, ESource *source, gboolean active);
void (*source_added) (GcalManager *manager, ESource *source, gboolean enabled);
void (*source_removed) (GcalManager *manager, ESource *source);
void (*source_enabled) (GcalManager *manager, ESource *source, gboolean enabled);
void (*load_completed) (GcalManager *manager);
void (*query_completed) (GcalManager *manager);
void (*goa_client_ready) (GcalManager *manager, GoaClient *client);