[evolution-data-server] Collection's child source Enabled should match collections Enabled



commit e3143075d4de04795499b0ac66c5b3cd9b47f727
Author: Milan Crha <mcrha redhat com>
Date:   Fri Nov 2 09:28:55 2012 +0100

    Collection's child source Enabled should match collections Enabled

 libebackend/e-collection-backend.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/libebackend/e-collection-backend.c b/libebackend/e-collection-backend.c
index d332093..4593f00 100644
--- a/libebackend/e-collection-backend.c
+++ b/libebackend/e-collection-backend.c
@@ -412,6 +412,11 @@ collection_backend_bind_child_enabled (ECollectionBackend *backend,
 			NULL);
 		return;
 	}
+
+	g_object_bind_property (
+		collection_source, "enabled",
+		child_source, "enabled",
+		G_BINDING_SYNC_CREATE);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]