From 05f2f829ed790183948a13337c55c482f93d4ed8 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Sat, 17 Sep 2011 19:19:43 +0100 Subject: [PATCH] eds: Add gender as an always-writeable property This is because it uses a custom vCard attribute, so no EDS backend actually says it's supported. We assume that the backends will save these custom vCard attributes safely. --- backends/eds/lib/edsf-persona-store.vala | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backends/eds/lib/edsf-persona-store.vala b/backends/eds/lib/edsf-persona-store.vala index 74735b6..4ad5d9d 100644 --- a/backends/eds/lib/edsf-persona-store.vala +++ b/backends/eds/lib/edsf-persona-store.vala @@ -649,12 +649,14 @@ public class Edsf.PersonaStore : Folks.PersonaStore { string[] fields = supported_fields.split (","); - /* We always support local-ids and web-service-addresses - * because we use custom vCard attributes for them. */ + /* We always support local-ids, web-service-addresses and + * gender because we use custom vCard attributes for them. */ prop_set.add (Folks.PersonaStore.detail_key ( PersonaDetail.LOCAL_IDS)); prop_set.add (Folks.PersonaStore.detail_key ( PersonaDetail.WEB_SERVICE_ADDRESSES)); + prop_set.add (Folks.PersonaStore.detail_key ( + PersonaDetail.GENDER)); foreach (unowned string field in fields) { -- 2.7.4