Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2011-06-26 15:10:56 (GMT)
committer Simon Schampijer <simon@schampijer.de>2011-07-04 15:29:16 (GMT)
commitef96e7033a81922e6d5c7e6b57952a09469a585e (patch)
treea8e577652eb3374c349d2db6f9563c8fcf2345f9 /src
parent077521c35f21270033408e09518bf003fb6b25ec (diff)
salut: when nick changes update the friends view OLPC #10749
This is a follow up fix of a glitch not handled by ac626ff ("Fully update the salut account information when the nick name changes"). Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Sascha Silbe <silbe@activitycentral.com>
Diffstat (limited to 'src')
-rw-r--r--src/jarabe/model/friends.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jarabe/model/friends.py b/src/jarabe/model/friends.py
index 7f50c1e..7605af1 100644
--- a/src/jarabe/model/friends.py
+++ b/src/jarabe/model/friends.py
@@ -61,6 +61,8 @@ class FriendBuddyModel(BuddyModel):
self.notify('color')
self.notify('present')
+ if buddy.nick != self.nick:
+ self.nick = buddy.nick
if buddy.contact_id != self.contact_id:
self.contact_id = buddy.contact_id
if buddy.account != self.account: