From 0595cf12c17760d416bb6beba8ba26ed628441ed Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Sun, 26 Jun 2011 15:10:56 +0000 Subject: 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 Acked-by: Sascha Silbe --- 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: -- cgit v0.9.1