diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-09-15 01:22:01 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-09-15 01:22:01 (GMT) |
commit | b7a5854a0bf365eda66c66cf4db7818c7f739188 (patch) | |
tree | 3ef73b54517da29dcf2e82df9516d44369cdde54 /sugar | |
parent | 86c2de3e68b6e7ff5370add495d6276ee46676b5 (diff) |
More color fixes
Diffstat (limited to 'sugar')
-rw-r--r-- | sugar/canvas/IconColor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sugar/canvas/IconColor.py b/sugar/canvas/IconColor.py index 68739b0..84ca409 100644 --- a/sugar/canvas/IconColor.py +++ b/sugar/canvas/IconColor.py @@ -4,7 +4,7 @@ from sugar.canvas import Colors def _parse_string(color_string): if color_string == 'white': - return ['#4f4f4f', 'white'] + return ['white', '#4f4f4f'] splitted = color_string.split(',') if len(splitted) == 2: @@ -30,5 +30,5 @@ class IconColor: return self._fill def to_string(self): - return '%s,%s' % (self._fill, self._stroke) + return '%s,%s' % (self._stroke, self._fill) |