GNOME Bugzilla – Bug 683452
gnome-contacts starts up with an empty address book
Last modified: 2012-09-06 06:42:35 UTC
If gnome-contacts is configured for Google, it always starts empty and erroneously marks all contacts as other.
Created attachment 223585 [details] [review] EDS: Lazy initialize groups when checking if a google contact is personal Edsf.Persona.in_google_personal_group is set during group parsing, but that might not happen if the application never accesses Folks.GroupDetails.groups. Insteady, lazy initialize the groups property when accessing the boolean.
Committed a modified version of your patch. Thanks! commit 2aea61a5ba58a4947753f1f5107d4566f84e6c93 Author: Philip Withnall <philip@tecnocode.co.uk> Date: Thu Sep 6 07:40:27 2012 +0100 Bug 683452 — gnome-contacts starts up with an empty address book Edsf.Persona.is_google_personal_group and .is_favourite can both be set by the _update_groups() method. Groups must be lazily initialised when accessing these properties, therefore. Based on a patch by Giovanni Campagna <scampa.giovanni@gmail.com>. Closes: https://bugzilla.gnome.org/show_bug.cgi?id=683452 NEWS | 1 + backends/eds/lib/edsf-persona.vala | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-)