diff --git a/sugar/canvas/IconColor.py b/sugar/canvas/IconColor.py index 8babea0d..68739b0a 100644 --- a/sugar/canvas/IconColor.py +++ b/sugar/canvas/IconColor.py @@ -19,9 +19,9 @@ class IconColor: def __init__(self, color_string=None): if color_string == None or not is_valid(color_string): n = int(random.random() * (len(Colors.colors) - 1)) - [self._fill, self._stroke] = Colors.colors[n] + [self._stroke, self._fill] = Colors.colors[n] else: - [self._fill, self._stroke] = _parse_string(color_string) + [self._stroke, self._fill] = _parse_string(color_string) def get_stroke_color(self): return self._stroke