Hide GtkNotebook border, the people hate it

This commit is contained in:
Chris Jones 2013-04-22 00:01:31 +01:00
parent b4e416ff5c
commit 744316e0ff
1 changed files with 5 additions and 0 deletions

View File

@ -59,6 +59,11 @@ class Notebook(Container, gtk.Notebook):
label = self.get_tab_label(self.get_nth_page(tab)) label = self.get_tab_label(self.get_nth_page(tab))
label.update_angle() label.update_angle()
style = gtk.RcStyle()
style.xthickness = 0
style.ythickness = 0
self.modify_style(style)
def create_layout(self, layout): def create_layout(self, layout):
"""Apply layout configuration""" """Apply layout configuration"""
def child_compare(a, b): def child_compare(a, b):