Fix styling of the invites icon

This commit is contained in:
Marco Pesenti Gritti 2006-10-23 21:28:19 +02:00
parent 31f6ffe916
commit ad7d04f736

View File

@ -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):