diff --git a/src/sugar3/graphics/toolbarbox.py b/src/sugar3/graphics/toolbarbox.py index ee709ddd..16834032 100644 --- a/src/sugar3/graphics/toolbarbox.py +++ b/src/sugar3/graphics/toolbarbox.py @@ -268,10 +268,7 @@ class _Box(Gtk.EventBox): def __init__(self, toolbar_button): 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() @@ -284,7 +281,7 @@ class _Box(Gtk.EventBox): cr.line_to(self.get_allocation().width, 0) cr.stroke() - Gtk.EventBox.do_draw(self, cr) + self.get_child().do_draw(self, cr) def _setup_page(page_widget, color, hpad):