Only connect terminal signals to terminals

This commit is contained in:
Chris Jones 2009-11-25 09:07:48 +00:00
parent 2a76382e47
commit 4577c14c6e

View File

@ -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)