From 7fc29c9d58109a91766d66cc46c42cd071cb683e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= Date: Wed, 12 Sep 2012 13:33:56 -0300 Subject: [PATCH] Set an initial background color for the subtoolbar container - SL #3890 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The styling of this toolbar elements should be ported to the theme at one point. Signed-off-by: Manuel QuiƱones Acked-by: Simon Schampijer --- src/sugar3/graphics/toolbarbox.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sugar3/graphics/toolbarbox.py b/src/sugar3/graphics/toolbarbox.py index 7e317f7d..ee709ddd 100644 --- a/src/sugar3/graphics/toolbarbox.py +++ b/src/sugar3/graphics/toolbarbox.py @@ -270,6 +270,8 @@ class _Box(Gtk.EventBox): GObject.GObject.__init__(self) self.set_app_paintable(True) self._toolbar_button = toolbar_button + self.modify_bg(Gtk.StateType.NORMAL, + style.COLOR_TOOLBAR_GREY.get_gdk_color()) def do_draw(self, cr): button_alloc = self._toolbar_button.get_allocation()