tpf-persona-store: call _emit_personas_changed() when reseting _persona_set
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 6 Sep 2012 12:26:33 +0000 (14:26 +0200)
committerJeremy Whiting <jpwhiting@kde.org>
Thu, 6 Sep 2012 21:23:37 +0000 (15:23 -0600)
We need to notify when we reset the persona set.

https://bugzilla.gnome.org/show_bug.cgi?id=683390

Signed-off-by: Jeremy Whiting <jpwhiting@kde.org>
NEWS
backends/telepathy/lib/tpf-persona-store.vala

diff --git a/NEWS b/NEWS
index ca23da1..2d053ef 100644 (file)
--- 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
index 74c8ce0..4d7b54a 100644 (file)
@@ -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<string, Persona> ();
       this._personas_ro = this._personas.read_only_view;
       this._persona_set = new HashSet<Persona> ();