[folks] Don't notify twice for EDS Persona nickname changes.



commit fd49b5957ce971196537d0f877f235df25128735
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Wed Jul 20 11:28:40 2011 -0700

    Don't notify twice for EDS Persona nickname changes.
    
    Closes: bgo#655019 - Don't notify twice for nickname changes

 NEWS                               |    1 +
 backends/eds/lib/edsf-persona.vala |    4 ----
 2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/NEWS b/NEWS
index dcc5f8c..3084178 100644
--- a/NEWS
+++ b/NEWS
@@ -20,6 +20,7 @@ Bugs fixed:
 * Bug 652425 â Failure codes for removing personas needed in PersonaStoreError
 * Bug 645549 â Add a way to get the individual from a persona
 * Bug 650422 â Add API for easily checking whether details are writeable
+* Bug 655019 â Don't notify twice for nickname changes
 
 API changes:
 * Swf.Persona retains and exposes its libsocialweb Contact
diff --git a/backends/eds/lib/edsf-persona.vala b/backends/eds/lib/edsf-persona.vala
index 4552cc6..d020811 100644
--- a/backends/eds/lib/edsf-persona.vala
+++ b/backends/eds/lib/edsf-persona.vala
@@ -281,10 +281,6 @@ public class Edsf.Persona : Folks.Persona,
 
       set
         {
-          if (this._nickname == value)
-            return;
-          this._nickname = value;
-          this.notify_property ("nickname");
           ((Edsf.PersonaStore) this.store)._set_nickname (this, value);
         }
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]