[evolution-data-server/gnome-3-6] Collection's child source Enabled should match collections Enabled



commit 9dae6ba3c2dac006c4a941011daedc45b861c0a1
Author: Milan Crha <mcrha redhat com>
Date:   Wed Oct 31 20:39:29 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]