diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-02-23 16:08:37 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-02-23 16:08:37 (GMT) |
commit | a2e5b9308e08637afc3eeb3bd9a6b0634e1b7fe1 (patch) | |
tree | 6c946b47fef417bda65d018c04f8faf2914debce /shell/view/frame/ActivitiesBox.py | |
parent | 97e64751cccc3f31dedbd184afc049daf0301afc (diff) |
Rename color property in CanvasIcon to xo-color and added properties fill-color and stroke-color.
Diffstat (limited to 'shell/view/frame/ActivitiesBox.py')
-rw-r--r-- | shell/view/frame/ActivitiesBox.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/shell/view/frame/ActivitiesBox.py b/shell/view/frame/ActivitiesBox.py index 8041a62..8fcddf8 100644 --- a/shell/view/frame/ActivitiesBox.py +++ b/shell/view/frame/ActivitiesBox.py @@ -31,12 +31,6 @@ class ActivityButton(IconButton): self._activity = activity self._popup_context = popup_context - def _mouse_motion_event_cb(self, item, event): - if event.detail == hippo.MOTION_DETAIL_ENTER: - self.set_property('color', self._prelight_color) - elif event.detail == hippo.MOTION_DETAIL_LEAVE: - self.set_property('color', self._normal_color) - def get_bundle_id(self): return self._activity.get_service_name() @@ -47,7 +41,7 @@ class InviteButton(IconButton): def __init__(self, activity, invite): IconButton.__init__(self, icon_name=activity.get_icon()) - self.props.color = activity.get_color() + self.props.xo_color = activity.get_color() self._invite = invite def get_activity_id(self): |