diff --git a/sugar/canvas/IconColor.py b/sugar/canvas/IconColor.py index 68739b0a..84ca409e 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)