[folks] Add debugging to favourite status in Folks.Individual



commit a96200b40547ab3a754e75aa71db69bd01a322a8
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Fri Aug 27 13:28:15 2010 +0100

    Add debugging to favourite status in Folks.Individual

 folks/individual.vala |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/folks/individual.vala b/folks/individual.vala
index 39807d0..fc79761 100644
--- a/folks/individual.vala
+++ b/folks/individual.vala
@@ -189,6 +189,9 @@ public class Folks.Individual : Object,
           if (this._is_favourite == value)
             return;
 
+          debug ("Setting '%s' favourite status to %s", this.id,
+              value ? "TRUE" : "FALSE");
+
           this._is_favourite = value;
           this._persona_list.foreach ((p) =>
             {
@@ -474,6 +477,8 @@ public class Folks.Individual : Object,
     {
       bool favourite = false;
 
+      debug ("Running update_is_favourite() on '%s'", this.id);
+
       this._persona_list.foreach ((p) =>
         {
           if (favourite == false && p is Favourite)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]