Fix merger artefacts
This commit is contained in:
parent
f5f8c807d3
commit
e799649f2f
@ -239,17 +239,17 @@ class _Box(gtk.EventBox):
|
||||
alloc = self.toolbar_button.allocation
|
||||
self.get_style().paint_box(event.window,
|
||||
gtk.STATE_NORMAL, gtk.SHADOW_IN, event.area, self,
|
||||
'palette-invoker', -style._FOCUS_LINE_WIDTH, 0,
|
||||
self.allocation.width + style._FOCUS_LINE_WIDTH*2,
|
||||
self.allocation.height + style._FOCUS_LINE_WIDTH)
|
||||
'palette-invoker', -style.FOCUS_LINE_WIDTH, 0,
|
||||
self.allocation.width + style.FOCUS_LINE_WIDTH * 2,
|
||||
self.allocation.height + style.FOCUS_LINE_WIDTH)
|
||||
self.get_style().paint_box(event.window,
|
||||
gtk.STATE_NORMAL, gtk.SHADOW_NONE, event.area, self, None,
|
||||
alloc.x + style._FOCUS_LINE_WIDTH, 0,
|
||||
alloc.width - style._FOCUS_LINE_WIDTH*2,
|
||||
style._FOCUS_LINE_WIDTH)
|
||||
alloc.x + style.FOCUS_LINE_WIDTH, 0,
|
||||
alloc.width - style.FOCUS_LINE_WIDTH * 2,
|
||||
style.FOCUS_LINE_WIDTH)
|
||||
|
||||
def _setup_page(page_widget, color, hpad):
|
||||
vpad = style._FOCUS_LINE_WIDTH
|
||||
vpad = style.FOCUS_LINE_WIDTH
|
||||
page_widget.child.set_padding(vpad, vpad, hpad, hpad)
|
||||
|
||||
page = page_widget.child.child
|
||||
|
Loading…
Reference in New Issue
Block a user