Set an initial background color for the subtoolbar container - SL #3890
The styling of this toolbar elements should be ported to the theme at one point. Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
This commit is contained in:
parent
5ab2b80546
commit
7fc29c9d58
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user