summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-09-08 10:31:30 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-09-10 12:22:29 +0100
commit427b76062a2b677bfc46dac6495e4c19829775c6 (patch)
treed7d37bf1da51ff701b38f7c27deaab6c97c6484e
parentae93e946acb356def0429ba36f1c71b72228930b (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.vala2
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;
}