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