[folks] Push favourite changes to all Personas unconditionally



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]