From 50595586a487b72d8dd283f87ccd1ed709fb51e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 3 Nov 2008 19:17:09 +0100 Subject: [PATCH] Use ICON_SIZE_SMALL_TOOLBAR for button --- tryton/gui/window/view_form/view/form_gtk/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tryton/gui/window/view_form/view/form_gtk/parser.py b/tryton/gui/window/view_form/view/form_gtk/parser.py index 3647243e18..bad60d3afc 100644 --- a/tryton/gui/window/view_form/view/form_gtk/parser.py +++ b/tryton/gui/window/view_form/view/form_gtk/parser.py @@ -24,7 +24,7 @@ class Button(object): try: stock = attrs['icon'] icon = gtk.Image() - icon.set_from_stock(stock, gtk.ICON_SIZE_BUTTON) + icon.set_from_stock(stock, gtk.ICON_SIZE_SMALL_TOOLBAR) self.widget.set_image(icon) except Exception: import logging