Only connect terminal signals to terminals
This commit is contained in:
parent
2a76382e47
commit
4577c14c6e
|
@ -113,8 +113,10 @@ class Notebook(Container, gtk.Notebook):
|
|||
'split-vert': self.split_vert,
|
||||
'unzoom': self.unzoom}
|
||||
|
||||
for signal in signals:
|
||||
self.connect_child(widget, signal, signals[signal])
|
||||
maker = Factory()
|
||||
if maker.isinstance(widget, 'Terminal'):
|
||||
for signal in signals:
|
||||
self.connect_child(widget, signal, signals[signal])
|
||||
|
||||
self.set_tab_reorderable(widget, True)
|
||||
label = TabLabel(self.window.get_title(), self)
|
||||
|
|
Loading…
Reference in New Issue