* Bug 658323 — Deprecate FOLKS_WRITEABLE_STORE in favour of FOLKS_PRIMARY_STORE
* Bug 659095 — Don't distribute typelib file
* Bug 659128 — If a persona store goes away we don't remove its personas
+* Bug 657141 — Backend should ask eds for the default backend, not hardcode it
API changes:
* Individual.avatar is now settable using Individual.change_avatar() (not new
this._personas = new HashMap<string, Persona> ();
this._personas_ro = this._personas.read_only_view;
this._query_str = "(contains \"x-evolution-any-field\" \"\")";
+ this._source.changed.connect (this._source_changed_cb);
+ this._notify_if_default ();
}
~PersonaStore ()
else
this.trust_level = PersonaStoreTrust.FULL;
}
+
+ private void _source_changed_cb ()
+ {
+ this._notify_if_default ();
+ }
+
+ private void _notify_if_default ()
+ {
+ bool is_default = false;
+ if (this._source.get_property ("default") == "true")
+ {
+ is_default = true;
+ }
+
+ if (is_default != this.is_user_set_default)
+ {
+ this.is_user_set_default = is_default;
+ }
+ }
}