From 8ec1e2b524943d8ec402b039a8da7e2cb2a9ea0d Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 1 Mar 2007 15:52:36 +0100 Subject: [PATCH] Use the dropdown icon. Quite an hack to get the icon size right, we will have to fix this properly. --- sugar/graphics/optionmenu.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sugar/graphics/optionmenu.py b/sugar/graphics/optionmenu.py index 2bb6fde4..bc0eb18b 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)