From 3f3c260e994e61e552b693a3be56d9fa502bb917 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
Date: Wed, 31 Oct 2012 11:44:20 -0300
Subject: [PATCH toolkit-gtk3] Set correct background v2
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
---
src/sugar3/graphics/toolbarbox.py | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/sugar3/graphics/toolbarbox.py b/src/sugar3/graphics/toolbarbox.py
index ee709dd..1683403 100644
a
|
b
|
class _Box(Gtk.EventBox): |
268 | 268 | |
269 | 269 | def __init__(self, toolbar_button): |
270 | 270 | GObject.GObject.__init__(self) |
271 | | self.set_app_paintable(True) |
272 | 271 | self._toolbar_button = toolbar_button |
273 | | self.modify_bg(Gtk.StateType.NORMAL, |
274 | | style.COLOR_TOOLBAR_GREY.get_gdk_color()) |
275 | 272 | |
276 | 273 | def do_draw(self, cr): |
277 | 274 | button_alloc = self._toolbar_button.get_allocation() |
… |
… |
class _Box(Gtk.EventBox): |
284 | 281 | cr.line_to(self.get_allocation().width, 0) |
285 | 282 | cr.stroke() |
286 | 283 | |
287 | | Gtk.EventBox.do_draw(self, cr) |
| 284 | self.get_child().do_draw(self, cr) |
288 | 285 | |
289 | 286 | |
290 | 287 | def _setup_page(page_widget, color, hpad): |