From 326bb4fa949187e4225c622c8075b53c633313ad Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Wed, 19 Aug 2009 19:00:47 +0100 Subject: [PATCH] Remove the default_setup function, it's very broken --- terminatorlib/window.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/terminatorlib/window.py b/terminatorlib/window.py index e8a7afe5..1512ec72 100755 --- a/terminatorlib/window.py +++ b/terminatorlib/window.py @@ -45,8 +45,6 @@ class Window(Container, gtk.Window): self.register_callbacks() self.apply_config() - self.default_setup() - def register_callbacks(self): """Connect the GTK+ signals we care about""" self.connect('key-press-event', self.on_key_press) @@ -92,15 +90,6 @@ class Window(Container, gtk.Window): self.set_icon(icon) - def default_setup(self): - """Set up the default child widget""" - terminal = self.terminator.new_terminal() - - self.add(terminal) - terminal.hide_titlebar() - self.show() - terminal.spawn_child() - def on_key_press(self, window, event): """Handle a keyboard event""" pass