GNOME Bugzilla – Bug 642501
Folks needs API for attaching notes to a Contact
Last modified: 2011-03-03 17:52:07 UTC
We should probably start with an interface like namespace Folks { interface NotesOwner : { public string notes { get; set; } } } and have Individual and each of the backends' Persona implementations implement it.
Created attachment 182320 [details] [review] Add NoteOwner interface Simple interface to attach notes to a Persona and an Individual. As usual a UID is provided as way for backends to track their data.
Thanks -- merged: commit a41ee9f96eb9e7fdea67d8bf884670797eb24521 Author: Raul Gutierrez Segales <raul.gutierrez.segales@collabora.co.uk> Date: Thu Mar 3 01:17:38 2011 +0000 Add NoteOwner interface Fixes: bgo#642501 - Folks needs API for attaching notes to a Contact NEWS | 1 + folks/Makefile.am | 1 + folks/individual.vala | 45 ++++++++++++++++++++++++ folks/note-owner.vala | 92 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 139 insertions(+), 0 deletions(-)
Created attachment 182374 [details] [review] Complements previous patch. Forgot to call _update_notes () from within _update_fields ().
(In reply to comment #3) > Created an attachment (id=182374) [details] [review] > Complements previous patch. > > Forgot to call _update_notes () from within _update_fields (). Fixed. Thanks: commit 5461da4b1b549bda90e99d15b15c82e6d7431532 Author: Raul Gutierrez Segales <raul.gutierrez.segales@collabora.co.uk> Date: Thu Mar 3 17:23:07 2011 +0000 Ensure we update an Individual's notes along with the other fields. folks/individual.vala | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)