[folks] bluez: Add some more debug output



commit d1fe72ace7171f208e3886c319f5c9d84cc94835
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Wed Nov 13 16:19:56 2013 +0000

    bluez: Add some more debug output
    
    https://bugzilla.gnome.org/show_bug.cgi?id=712274

 backends/bluez/bluez-persona-store.vala |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/backends/bluez/bluez-persona-store.vala b/backends/bluez/bluez-persona-store.vala
index 6ff9f27..2789be1 100644
--- a/backends/bluez/bluez-persona-store.vala
+++ b/backends/bluez/bluez-persona-store.vala
@@ -274,6 +274,8 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
       var removed_personas = new HashSet<Persona> ();
       var photos_up_to_date = this._photos_up_to_date;
 
+      debug ("Parsing contacts from file ‘%s’.", file.get_path ());
+
       /* Start with all personas being marked as removed, and then eliminate the
        * ones which are found in the vCard. */
       removed_personas.add_all (this._personas.values);
@@ -369,6 +371,8 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
 
       /* Now that all the I/O is done and no more errors can be thrown, update
        * the store’s internal state. */
+      debug ("Finished parsing personas; now updating store state.");
+
       foreach (var p in added_personas)
           this._personas.set (p.iid, p);
       foreach (var p in removed_personas)


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