From fe80f9643adede3d5c634398cf1902ba691b419a Mon Sep 17 00:00:00 2001 From: Reinier Heeres Date: Thu, 6 Dec 2007 09:27:24 +0100 Subject: [PATCH] Don't color cancel icon in search field, #5154 --- lib/sugar/graphics/iconentry.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/sugar/graphics/iconentry.py b/lib/sugar/graphics/iconentry.py index 6990eea8..a1fed31d 100644 --- a/lib/sugar/graphics/iconentry.py +++ b/lib/sugar/graphics/iconentry.py @@ -19,6 +19,7 @@ import gtk from sugar import _sugarext +from sugar.graphics import style from sugar.graphics.icon import _SVGLoader import sugar.profile @@ -44,8 +45,8 @@ class IconEntry(_sugarext.IconEntry): if icon_info.get_filename().endswith('.svg'): loader = _SVGLoader() color = sugar.profile.get_color() - entities = {'fill_color': color.get_fill_color(), - 'stroke_color': color.get_stroke_color()} + entities = {'fill_color': style.COLOR_TOOLBAR_GREY.get_svg(), + 'stroke_color': style.COLOR_TOOLBAR_GREY.get_svg()} handle = loader.load(icon_info.get_filename(), entities, None) pixbuf = handle.get_pixbuf() else: