From b7a5854a0bf365eda66c66cf4db7818c7f739188 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 15 Sep 2006 03:22:01 +0200 Subject: [PATCH] More color fixes --- sugar/canvas/IconColor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)