[Sugar-devel] [PATCH sugar] salut: when nick changes update the friends view OLPC #10749
Simon Schampijer
simon at schampijer.de
Sun Jun 26 11:14:26 EDT 2011
This is a follow up fix of a glitch not handled by
ac626ffa64f391d815a85731b508fce385eeae57.
Signed-off-by: Simon Schampijer <simon at laptop.org>
---
src/jarabe/model/friends.py | 2 ++
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:
--
1.7.4.4
More information about the Sugar-devel
mailing list