[folks] TpfPersonaStore: freeze/thaw notify signals when changing connection
- From: Xavier Claessens <xclaesse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] TpfPersonaStore: freeze/thaw notify signals when changing connection
- Date: Fri, 13 Apr 2012 14:40:51 +0000 (UTC)
commit d701c9f35da152327351bff8f4ea3ccf265f1431
Author: Xavier Claessens <xavier claessens collabora co uk>
Date: Tue Apr 10 16:58:27 2012 +0200
TpfPersonaStore: freeze/thaw notify signals when changing connection
https://bugzilla.gnome.org/show_bug.cgi?id=630822
backends/telepathy/lib/tpf-persona-store.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/backends/telepathy/lib/tpf-persona-store.vala b/backends/telepathy/lib/tpf-persona-store.vala
index baad84f..660f6d8 100644
--- a/backends/telepathy/lib/tpf-persona-store.vala
+++ b/backends/telepathy/lib/tpf-persona-store.vala
@@ -669,6 +669,7 @@ public class Tpf.PersonaStore : Folks.PersonaStore
this._conn = this.account.connection;
+ this.freeze_notify ();
this._marshall_supported_fields ();
this.notify_property ("supported-fields");
@@ -694,6 +695,7 @@ public class Tpf.PersonaStore : Folks.PersonaStore
}
this.notify_property ("can-add-personas");
this.notify_property ("can-remove-personas");
+ this.thaw_notify ();
/* Add the local user */
this._conn.notify["self-contact"].connect (this._self_contact_changed_cb);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]