[folks] Signal the removal of personas from the Kf.PersonaStore
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Signal the removal of personas from the Kf.PersonaStore
- Date: Wed, 11 Aug 2010 00:00:25 +0000 (UTC)
commit 86261325ce1aa25cb5919381939677febc94d851
Author: Philip Withnall <philip withnall collabora co uk>
Date: Tue Aug 10 16:59:36 2010 +0100
Signal the removal of personas from the Kf.PersonaStore
backends/key-file/kf-persona-store.vala | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/backends/key-file/kf-persona-store.vala b/backends/key-file/kf-persona-store.vala
index ae8c929..54d81df 100644
--- a/backends/key-file/kf-persona-store.vala
+++ b/backends/key-file/kf-persona-store.vala
@@ -164,6 +164,11 @@ public class Folks.Backends.Kf.PersonaStore : Folks.PersonaStore
{
this.key_file.remove_group (persona.display_id);
yield this.save_key_file ();
+
+ /* Signal the removal of the Persona */
+ GLib.List<Folks.Persona> personas = new GLib.List<Folks.Persona> ();
+ personas.prepend (persona);
+ this.personas_changed (null, personas, null, null, 0);
}
catch (KeyFileError e)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]