From 825758018df41500182c8834dc19e7893d353b3a Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 18 Aug 2006 19:36:36 +0200 Subject: [PATCH] Update the color property name --- sugar/canvas/IconItem.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sugar/canvas/IconItem.py b/sugar/canvas/IconItem.py index 7be096d1..153699b8 100644 --- a/sugar/canvas/IconItem.py +++ b/sugar/canvas/IconItem.py @@ -21,8 +21,8 @@ class IconCache(gobject.GObject): icon_file.close() if color != None: - style = '.icon-color {fill: %s;}' % color - data = re.sub('\.icon-color \{.*\}', style, data) + style = '.fill-color {fill: %s;}' % color + data = re.sub('\.fill-color \{.*\}', style, data) loader = gtk.gdk.pixbuf_loader_new_with_mime_type('image/svg-xml') loader.set_size(size, size)