From: Guillaume Desmottes Date: Thu, 6 Sep 2012 12:26:33 +0000 (+0200) Subject: tpf-persona-store: call _emit_personas_changed() when reseting _persona_set X-Git-Tag: FOLKS_0_7_4_1~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af500a4bd9fe88ae9f3832a37e19a86a4273ba5d;p=platform%2Fupstream%2Ffolks.git 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 --- 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 ();