[folks] Don't save the key file when loading Personas' aliases
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Don't save the key file when loading Personas' aliases
- Date: Fri, 10 Sep 2010 16:13:32 +0000 (UTC)
commit 427b76062a2b677bfc46dac6495e4c19829775c6
Author: Philip Withnall <philip withnall collabora co uk>
Date: Wed Sep 8 10:31:30 2010 +0100
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.
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]