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 /sugar/graphics/menu.py | |
parent | 97e64751cccc3f31dedbd184afc049daf0301afc (diff) |
Rename color property in CanvasIcon to xo-color and added properties fill-color and stroke-color.
Diffstat (limited to 'sugar/graphics/menu.py')
-rw-r--r-- | sugar/graphics/menu.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar/graphics/menu.py b/sugar/graphics/menu.py index 0f15470..e60bd61 100644 --- a/sugar/graphics/menu.py +++ b/sugar/graphics/menu.py @@ -49,7 +49,7 @@ class MenuItem(hippo.CanvasBox): icon = CanvasIcon(icon_name=icon_name, scale=units.SMALL_ICON_SCALE) if icon_color: - icon.props.color = icon_color + icon.props.xo_color = icon_color self.append(icon) self._canvas_text = hippo.CanvasText(text=label) |