diff --git a/shell/view/frame/ActivitiesBox.py b/shell/view/frame/ActivitiesBox.py index 0e377aff..291c5118 100644 --- a/shell/view/frame/ActivitiesBox.py +++ b/shell/view/frame/ActivitiesBox.py @@ -44,7 +44,7 @@ class ActivityButton(IconButton): class InviteButton(IconButton): def __init__(self, activity_model, invite): - IconButton.__init__(self, icon_name=activity_model.get_color()) + IconButton.__init__(self, file_name=activity_model.get_icon()) self.props.xo_color = activity_model.get_color() self._invite = invite diff --git a/shell/view/home/FriendView.py b/shell/view/home/FriendView.py index eb1eab55..3a6c5b85 100644 --- a/shell/view/home/FriendView.py +++ b/shell/view/home/FriendView.py @@ -67,7 +67,7 @@ class FriendView(hippo.CanvasBox): # than hiding the icon? name = self._get_new_icon_name(home_activity) if name: - self._activity_icon.props.icon_name = name + self._activity_icon.props.file_name = name self._activity_icon.props.xo_color = buddy.get_color() if not self._activity_icon_visible: self.append(self._activity_icon, hippo.PACK_EXPAND) diff --git a/shell/view/home/MeshBox.py b/shell/view/home/MeshBox.py index b099351d..e3f0c0fe 100644 --- a/shell/view/home/MeshBox.py +++ b/shell/view/home/MeshBox.py @@ -176,7 +176,7 @@ class ActivityView(hippo.CanvasBox): self._layout = SnowflakeLayout() self.set_layout(self._layout) - self._icon = CanvasIcon(icon_name=model.get_icon_name(), + self._icon = CanvasIcon(file_name=model.get_icon_name(), xo_color=model.get_color(), box_width=80) self._icon.connect('activated', self._clicked_cb) self._icon.set_tooltip(self._model.get_title())