From af500a4bd9fe88ae9f3832a37e19a86a4273ba5d Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 6 Sep 2012 14:26:33 +0200 Subject: [PATCH] tpf-persona-store: call _emit_personas_changed() when reseting _persona_set We need to notify when we reset the persona set. https://bugzilla.gnome.org/show_bug.cgi?id=683390 Signed-off-by: Jeremy Whiting --- NEWS | 1 + backends/telepathy/lib/tpf-persona-store.vala | 2 ++ 2 files changed, 3 insertions(+) diff --git a/NEWS b/NEWS index ca23da1..2d053ef 100644 --- a/NEWS +++ b/NEWS @@ -18,6 +18,7 @@ Bugs fixed: • Bug 681726 — empathy crashed with SIGABRT in g_assertion_message() • Bug 683452 — gnome-contacts starts up with an empty address book • Bug 681476 — folks-inspect could use some methods to set values +• Bug 683390 — Individuals sometimes not removed when disabling their Telepathy account API changes: • Add PropertyError.UNAVAILABLE diff --git a/backends/telepathy/lib/tpf-persona-store.vala b/backends/telepathy/lib/tpf-persona-store.vala index 74c8ce0..4d7b54a 100644 --- a/backends/telepathy/lib/tpf-persona-store.vala +++ b/backends/telepathy/lib/tpf-persona-store.vala @@ -395,6 +395,8 @@ public class Tpf.PersonaStore : Folks.PersonaStore else this.trust_level = PersonaStoreTrust.PARTIAL; + this._emit_personas_changed (null, this._persona_set); + this._personas = new HashMap (); this._personas_ro = this._personas.read_only_view; this._persona_set = new HashSet (); -- 2.7.4