[folks] IndividualAggregator: emit notifications for primary-store property
- From: Raul Gutierrez Segales <raulgs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] IndividualAggregator: emit notifications for primary-store property
- Date: Fri, 26 Aug 2011 10:34:26 +0000 (UTC)
commit 356b3c729c327b28683de41a6615f7fc0e1ade50
Author: Raul Gutierrez Segales <rgs collabora co uk>
Date: Fri Aug 26 11:32:05 2011 +0100
IndividualAggregator: emit notifications for primary-store property
folks/individual-aggregator.vala | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/folks/individual-aggregator.vala b/folks/individual-aggregator.vala
index c4b8390..a168e51 100644
--- a/folks/individual-aggregator.vala
+++ b/folks/individual-aggregator.vala
@@ -490,6 +490,7 @@ public class Folks.IndividualAggregator : Object
store.is_writeable = true;
store.trust_level = PersonaStoreTrust.FULL;
this._writeable_store = store;
+ this.notify_property ("primary-store");
}
}
@@ -526,7 +527,10 @@ public class Folks.IndividualAggregator : Object
* necessary) */
if (this._writeable_store == store)
- this._writeable_store = null;
+ {
+ this._writeable_store = null;
+ this.notify_property ("primary-store");
+ }
this._stores.unset (this._get_store_full_id (store.type_id, store.id));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]