From ad7d04f73637d6228b82fbb89d51c13844cb1025 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 23 Oct 2006 21:28:19 +0200 Subject: [PATCH] Fix styling of the invites icon --- shell/view/frame/ActivitiesBox.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/shell/view/frame/ActivitiesBox.py b/shell/view/frame/ActivitiesBox.py index aeb3e03f..985ee8c0 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):