Don't color cancel icon in search field, #5154
This commit is contained in:
parent
f0d194f3fb
commit
fe80f9643a
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user