diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2010-09-08 10:31:30 +0100 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2010-09-10 12:22:29 +0100 |
commit | 427b76062a2b677bfc46dac6495e4c19829775c6 (patch) | |
tree | d7d37bf1da51ff701b38f7c27deaab6c97c6484e | |
parent | ae93e946acb356def0429ba36f1c71b72228930b (diff) |
Don't save the key file when loading Personas' aliases
We were previously saving the key file for each __alias key loaded, as it was
loading the alias into Kf.Persona.alias, rather than Kf.Persona._alias,
causing the key file to be saved each time.
This may have caused or contributed towards the corruption seen in bgo#628930.
-rw-r--r-- | backends/key-file/kf-persona.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/key-file/kf-persona.vala b/backends/key-file/kf-persona.vala index fed5547..bfb669d 100644 --- a/backends/key-file/kf-persona.vala +++ b/backends/key-file/kf-persona.vala @@ -135,7 +135,7 @@ public class Folks.Backends.Kf.Persona : Folks.Persona, /* Alias */ if (key == "__alias") { - this.alias = this.key_file.get_string (this.display_id, key); + this._alias = this.key_file.get_string (this.display_id, key); continue; } |