Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorReinier Heeres <reinier@heeres.eu>2007-12-06 08:27:24 (GMT)
committer Reinier Heeres <reinier@heeres.eu>2007-12-06 08:27:24 (GMT)
commitfe80f9643adede3d5c634398cf1902ba691b419a (patch)
treecd3ef68c05157aaa978ad74b797a17f4ece54792 /lib
parentf0d194f3fba770807ac3bc7dbb3d5ff3fcfa4fce (diff)
Don't color cancel icon in search field, #5154
Diffstat (limited to 'lib')
-rw-r--r--lib/sugar/graphics/iconentry.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sugar/graphics/iconentry.py b/lib/sugar/graphics/iconentry.py
index 6990eea..a1fed31 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: