Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/graphics
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-03-01 14:52:36 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-03-01 14:52:36 (GMT)
commit8ec1e2b524943d8ec402b039a8da7e2cb2a9ea0d (patch)
tree77f43d5c438398ebcea2006e484f45956a5c8b3a /sugar/graphics
parent57b887df30e38da6ef116572ce87934931114aa4 (diff)
Use the dropdown icon. Quite an hack to get the icon size right,
we will have to fix this properly.
Diffstat (limited to 'sugar/graphics')
-rw-r--r--sugar/graphics/optionmenu.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sugar/graphics/optionmenu.py b/sugar/graphics/optionmenu.py
index 2bb6fde..bc0eb18 100644
--- a/sugar/graphics/optionmenu.py
+++ b/sugar/graphics/optionmenu.py
@@ -75,8 +75,9 @@ class OptionMenu(hippo.CanvasBox, hippo.CanvasItem):
self._round_box.append(self._canvas_text, hippo.PACK_EXPAND)
# TODO: Substitute for the right icon.
- arrow = iconbutton.IconButton(icon_name='theme:stock-close')
+ arrow = iconbutton.IconButton(icon_name='theme:control-popup-arrow')
arrow.props.size = iconbutton.SMALL_SIZE
+ arrow.props.scale = units.STANDARD_ICON_SCALE
arrow.props.yalign = hippo.ALIGNMENT_CENTER
arrow.props.xalign = hippo.ALIGNMENT_START
self._round_box.append(arrow)