Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Quiñones <manuq@laptop.org>2012-09-12 16:33:56 (GMT)
committer Manuel Quiñones <manuq@laptop.org>2012-09-12 16:33:56 (GMT)
commit7fc29c9d58109a91766d66cc46c42cd071cb683e (patch)
tree1a610cf118af7b42eb2532964927ad87be0d5e0a
parent5ab2b8054633e876da71ffdb6b5f7ee61f5c9930 (diff)
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>
-rw-r--r--src/sugar3/graphics/toolbarbox.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sugar3/graphics/toolbarbox.py b/src/sugar3/graphics/toolbarbox.py
index 7e317f7..ee709dd 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()