Notebook: fix passing can-close-tabs

Make sure can_close_tabs can be passed in as a keyword parameter (to be set
by the GObject constructor).

[split out from another patch]
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
master
Simon Schampijer 13 years ago
parent 9e4a3688fe
commit af4bde1e83

@ -44,9 +44,8 @@ class Notebook(gtk.Notebook):
# Set the 'can-close-tabs' property using **kwargs
# Set True the scrollable notebook property
gobject.GObject.__init__(self, **kwargs)
self._can_close_tabs = None
GObject.GObject.__init__(self, **kwargs)
self.set_scrollable(True)
self.show()

Loading…
Cancel
Save