Don't allow setting a Kf.Persona's alias to its current value
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 8 Sep 2010 09:28:53 +0000 (10:28 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Fri, 10 Sep 2010 11:22:29 +0000 (12:22 +0100)
backends/key-file/kf-persona.vala

index e41b355..fed5547 100644 (file)
@@ -48,6 +48,9 @@ public class Folks.Backends.Kf.Persona : Folks.Persona,
 
       set
         {
+          if (this._alias == value)
+            return;
+
           this._alias = value;
           this.key_file.set_string (this.display_id, "__alias", value);