summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2013-11-13 16:19:56 +0000
committerPhilip Withnall <philip@tecnocode.co.uk>2014-02-16 23:52:31 +0000
commitd1fe72ace7171f208e3886c319f5c9d84cc94835 (patch)
tree5b3b33ccaff828c3577cc276e4668e5b8edd72ce
parent9064888b65eff3d30023bffebe5fa042a8e0369b (diff)
bluez: Add some more debug output
https://bugzilla.gnome.org/show_bug.cgi?id=712274
-rw-r--r--backends/bluez/bluez-persona-store.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/bluez/bluez-persona-store.vala b/backends/bluez/bluez-persona-store.vala
index 6ff9f27c..2789be1c 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)