diff options
Diffstat (limited to 'backends/eds/lib/edsf-persona-store.vala')
-rw-r--r-- | backends/eds/lib/edsf-persona-store.vala | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/backends/eds/lib/edsf-persona-store.vala b/backends/eds/lib/edsf-persona-store.vala index 0c6b9c15..e048eb5f 100644 --- a/backends/eds/lib/edsf-persona-store.vala +++ b/backends/eds/lib/edsf-persona-store.vala @@ -1227,6 +1227,16 @@ public class Edsf.PersonaStore : Folks.PersonaStore * if _addressbook is null. */ assert (this._addressbook != null); + var debug_obj = Debug.dup (); + if (debug_obj.debug_output_enabled == true) + { + debug ("Committing modified property ā%sā to persona %p (UID: %s).", + property_name, persona, persona.uid); + + debug ("Modified vCard: %s", + persona.contact.to_string (E.VCardFormat.@30)); + } + var contact = persona.contact; ulong signal_id = 0; @@ -1272,10 +1282,15 @@ public class Edsf.PersonaStore : Folks.PersonaStore * they can only be modified from the main loop. */ if (received_notification == false) { + debug ("Yielding."); has_yielded = true; yield; } + debug ("Finished: received_notification = %s, has_yielded = %s", + received_notification ? "yes" : "no", + has_yielded ? "yes" : "no"); + /* If we hit the timeout instead of the property notification, throw * an error. */ if (received_notification == false) |