[folks] Push favourite changes to all Personas unconditionally
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Push favourite changes to all Personas unconditionally
- Date: Thu, 26 Aug 2010 21:20:29 +0000 (UTC)
commit a1190e33fb96e2edf15d27b9120b8e95eef0318d
Author: Philip Withnall <philip withnall collabora co uk>
Date: Wed Aug 25 18:10:36 2010 +0100
Push favourite changes to all Personas unconditionally
Since the changes are only pushed down to Personas if the favourite status
has changed, they have to be pushed down to every Persona anyway (or the
aggregated favourite status wouldn't change).
folks/individual.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/folks/individual.vala b/folks/individual.vala
index 5dcfc4a..f798396 100644
--- a/folks/individual.vala
+++ b/folks/individual.vala
@@ -192,7 +192,7 @@ public class Folks.Individual : Object,
this._is_favourite = value;
this._persona_list.foreach ((p) =>
{
- if (p is Favourite && ((Persona) p).store.is_writeable == true)
+ if (p is Favourite)
((Favourite) p).is_favourite = value;
});
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]