From d1fe72ace7171f208e3886c319f5c9d84cc94835 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 13 Nov 2013 16:19:56 +0000 Subject: bluez: Add some more debug output https://bugzilla.gnome.org/show_bug.cgi?id=712274 --- backends/bluez/bluez-persona-store.vala | 4 ++++ 1 file changed, 4 insertions(+) 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 (); 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) -- cgit v1.2.3