Don't color cancel icon in search field, #5154

This commit is contained in:
Reinier Heeres 2007-12-06 09:27:24 +01:00
parent f0d194f3fb
commit fe80f9643a

View File

@ -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: