diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-23 19:28:19 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-23 19:28:19 (GMT) |
commit | ad7d04f73637d6228b82fbb89d51c13844cb1025 (patch) | |
tree | 04eeb9b86be75235cd6956692883db48446a4fb0 | |
parent | 31f6ffe916dd40d684389bfc247b126fac5c5320 (diff) |
Fix styling of the invites icon
-rw-r--r-- | shell/view/frame/ActivitiesBox.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/shell/view/frame/ActivitiesBox.py b/shell/view/frame/ActivitiesBox.py index aeb3e03..985ee8c 100644 --- a/shell/view/frame/ActivitiesBox.py +++ b/shell/view/frame/ActivitiesBox.py @@ -34,8 +34,11 @@ class ActivityItem(CanvasIcon): class InviteItem(CanvasIcon): def __init__(self, invite): - CanvasIcon.__init__(self, icon_name=invite.get_icon(), - color=invite.get_color()) + CanvasIcon.__init__(self, icon_name=invite.get_icon()) + + style.apply_stylesheet(self, 'frame.ActivityIcon') + self.props.color = invite.get_color() + self._invite = invite def get_activity_id(self): |