diff --git a/shell/view/frame/FriendsBox.py b/shell/view/frame/FriendsBox.py index b998c516..920bfb1c 100644 --- a/shell/view/frame/FriendsBox.py +++ b/shell/view/frame/FriendsBox.py @@ -59,14 +59,14 @@ class FriendsBox(hippo.CanvasBox): self._active_activity_changed_cb) def add_buddy(self, buddy): - if self._buddies.has_key(buddy.get_key()): + if self._buddies.has_key(buddy.props.key): return model = BuddyModel(buddy=buddy) icon = FriendIcon(self._shell, self._popup_context, model) self.append(icon) - self._buddies[buddy.get_key()] = icon + self._buddies[buddy.props.key] = icon def remove_buddy(self, buddy): if not self._buddies.has_key(buddy.get_key()):