if (this._addressbook == null ||
((!) this._addressbook).readonly == true)
{
- return this._always_writeable_properties_empty;
+ return PersonaStore._always_writeable_properties_empty;
}
return this._always_writeable_properties;
* above. */
yield ((!) this._addressbook).modify_contact (contact, null);
- timeout_id = Timeout.add_seconds (this._property_change_timeout, () =>
+ timeout_id = Timeout.add_seconds (PersonaStore._property_change_timeout, () =>
{
/* Failure! Return to _commit_modified_property() without setting
* received_notification. */
Set<string> anti_links)
{
var vcard = (E.VCard) contact;
- vcard.remove_attributes (null, this.anti_links_attribute_name);
+ vcard.remove_attributes (null, PersonaStore.anti_links_attribute_name);
var persona_uid =
Folks.Persona.build_uid (BACKEND_NAME, this.id, contact.id);
}
var attr = new E.VCardAttribute (null,
- this.anti_links_attribute_name);
+ PersonaStore.anti_links_attribute_name);
attr.add_value (anti_link_uid);
contact.add_attribute ((owned) attr);
*/
public override string[] linkable_properties
{
- get { return this._linkable_properties; }
+ get { return Persona._linkable_properties; }
}
/**
Edsf.Persona._get_property_from_contact<string> (contact, "id");
var contact_id = (!) (_contact_id ?? "");
- var uid = this.build_uid (BACKEND_NAME, store.id, contact_id);
+ var uid = Folks.Persona.build_uid (BACKEND_NAME, store.id, contact_id);
var iid = Edsf.Persona.build_iid (store.id, contact_id);
var is_user = BookClient.is_self (contact);
var _full_name =
* by the BirthdayDetails interface.
* We cache the timezone since creating it requires mmapping
* /etc/localtime, which means lots of syscalls. */
- var d = new DateTime (this._local_time_zone,
+ var d = new DateTime (Persona._local_time_zone,
(int) bday.year, (int) bday.month, (int) bday.day, 0, 0, 0.0);
if (this._birthday == null ||
(this._birthday != null &&
var new_urls = new HashSet<UrlFieldDetails> ();
/* First we get the standard Evo urls.. */
- foreach (var mapping in this._url_properties)
+ foreach (var mapping in Persona._url_properties)
{
var url_property = mapping.vcard_field_name;
var folks_type = mapping.folks_type;
if (u != null && u != "")
{
var fd_u = new UrlFieldDetails ((!) u);
- fd_u.set_parameter (fd_u.PARAM_TYPE, folks_type);
+ fd_u.set_parameter (AbstractFieldDetails.PARAM_TYPE, folks_type);
new_urls.add (fd_u);
}
}
private void _update_im_addresses ()
{
- var im_eds_map = this._get_im_eds_map ();
+ var im_eds_map = Persona._get_im_eds_map ();
var new_im_addresses = new HashMultiMap<string, ImFieldDetails> (null,
null, (GLib.HashFunc) ImFieldDetails.hash,
(GLib.EqualFunc) ImFieldDetails.equal);