Add the (un)group_(all|tab) connections that should have been in the previous commit
This commit is contained in:
parent
14f98c1b89
commit
0eb6994620
|
@ -120,6 +120,10 @@ class Notebook(Container, gtk.Notebook):
|
||||||
for signal in signals:
|
for signal in signals:
|
||||||
self.connect_child(widget, signal, signals[signal])
|
self.connect_child(widget, signal, signals[signal])
|
||||||
self.connect_child(widget, 'tab-change', top_window.tab_change)
|
self.connect_child(widget, 'tab-change', top_window.tab_change)
|
||||||
|
self.connect_child(widget, 'group-all', top_window.group_all)
|
||||||
|
self.connect_child(widget, 'ungroup-all', top_window.ungroup_all)
|
||||||
|
self.connect_child(widget, 'group-tab', top_window.group_tab)
|
||||||
|
self.connect_child(widget, 'ungroup-tab', top_window.ungroup_tab)
|
||||||
|
|
||||||
self.set_tab_reorderable(widget, True)
|
self.set_tab_reorderable(widget, True)
|
||||||
label = TabLabel(self.window.get_title(), self)
|
label = TabLabel(self.window.get_title(), self)
|
||||||
|
|
|
@ -249,6 +249,11 @@ class Window(Container, gtk.Window):
|
||||||
self.connect_child(widget, signal, signals[signal])
|
self.connect_child(widget, signal, signals[signal])
|
||||||
|
|
||||||
self.connect_child(widget, 'tab-change', self.tab_change)
|
self.connect_child(widget, 'tab-change', self.tab_change)
|
||||||
|
self.connect_child(widget, 'group-all', self.group_all)
|
||||||
|
self.connect_child(widget, 'ungroup-all', self.ungroup_all)
|
||||||
|
self.connect_child(widget, 'group-tab', self.group_tab)
|
||||||
|
self.connect_child(widget, 'ungroup-tab', self.ungroup_tab)
|
||||||
|
|
||||||
widget.grab_focus()
|
widget.grab_focus()
|
||||||
|
|
||||||
def remove(self, widget):
|
def remove(self, widget):
|
||||||
|
|
Loading…
Reference in New Issue