Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/view/home/activitiesdonut.py
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-02-23 16:08:37 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-02-23 16:08:37 (GMT)
commita2e5b9308e08637afc3eeb3bd9a6b0634e1b7fe1 (patch)
tree6c946b47fef417bda65d018c04f8faf2914debce /shell/view/home/activitiesdonut.py
parent97e64751cccc3f31dedbd184afc049daf0301afc (diff)
Rename color property in CanvasIcon to xo-color and added properties fill-color and stroke-color.
Diffstat (limited to 'shell/view/home/activitiesdonut.py')
-rw-r--r--shell/view/home/activitiesdonut.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/view/home/activitiesdonut.py b/shell/view/home/activitiesdonut.py
index 6c411ae..455fbaa 100644
--- a/shell/view/home/activitiesdonut.py
+++ b/shell/view/home/activitiesdonut.py
@@ -55,7 +55,7 @@ class ActivityIcon(CanvasIcon):
self._level = self._level_max
color = self._icon_colors[self._level]
- CanvasIcon.__init__(self, icon_name=icon_name, color=color,
+ CanvasIcon.__init__(self, icon_name=icon_name, xo_color=color,
scale=units.MEDIUM_ICON_SCALE, cache=True)
self._activity = activity
@@ -103,7 +103,7 @@ class ActivityIcon(CanvasIcon):
self._direction = 1
self._level = 0
- self.props.color = self._icon_colors[self._level]
+ self.props.xo_color = self._icon_colors[self._level]
self.emit_paint_needed(0, 0, -1, -1)
return True
@@ -113,7 +113,7 @@ class ActivityIcon(CanvasIcon):
self._launched = True
self.cleanup()
self._level = 100.0
- self.props.color = self._orig_color
+ self.props.xo_color = self._orig_color
self.emit_paint_needed(0, 0, -1, -1)
def get_launched(self):