diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-02-23 12:09:33 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-02-23 12:09:33 (GMT) |
commit | cb0d75eb59da59ff505794d6a1bddb484b4b2e88 (patch) | |
tree | f811cc494c80532e37616d58e158bfecdfb5f04b /shell/view/home/activitiesdonut.py | |
parent | b8792c5c32561ca4d617e4e359d031f0f6128af0 (diff) |
Rename IconColor to XoColor.
Diffstat (limited to 'shell/view/home/activitiesdonut.py')
-rw-r--r-- | shell/view/home/activitiesdonut.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/view/home/activitiesdonut.py b/shell/view/home/activitiesdonut.py index b1ec62d..6c411ae 100644 --- a/shell/view/home/activitiesdonut.py +++ b/shell/view/home/activitiesdonut.py @@ -21,7 +21,7 @@ import colorsys from sugar.graphics.canvasicon import CanvasIcon from sugar.graphics import units -from sugar.graphics import iconcolor +from sugar.graphics import xocolor from sugar import profile # TODO: rgb_to_html and html_to_rgb are useful elsewhere @@ -89,7 +89,7 @@ class ActivityIcon(CanvasIcon): new_fill = rgb_to_html(*colorsys.hsv_to_rgb(h, s * factor, v)) h, s, v = colorsys.rgb_to_hsv(*html_to_rgb(self._orig_color.get_stroke_color())) new_stroke = rgb_to_html(*colorsys.hsv_to_rgb(h, s * factor, v)) - return iconcolor.IconColor("%s,%s" % (new_stroke, new_fill)) + return xocolor.XoColor("%s,%s" % (new_stroke, new_fill)) def _pulse_cb(self): if self._direction == 1: |