From f3d5fa61e4ba17af56407d09f804ce1365ce2fdd Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Wed, 19 Aug 2009 01:06:07 +0100 Subject: [PATCH] config is now a borg, so there's no need to pass a reference around. Also fix a config keyerror --- terminatorlib/window.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/terminatorlib/window.py b/terminatorlib/window.py index 568f4556..e8a7afe5 100755 --- a/terminatorlib/window.py +++ b/terminatorlib/window.py @@ -30,11 +30,11 @@ class Window(Container, gtk.Window): hidebound = None hidefunc = None - def __init__(self, configobject): + def __init__(self): """Class initialiser""" self.terminator = Terminator() - Container.__init__(self, configobject) + Container.__init__(self) gtk.Window.__init__(self) gobject.type_register(Window) self.register_signals(Window) @@ -72,7 +72,7 @@ class Window(Container, gtk.Window): def apply_config(self): """Apply various configuration options""" self.set_fullscreen(self.config['fullscreen']) - self.set_maximised(self.config['maximised']) + self.set_maximised(self.config['maximise']) self.set_borderless(self.config['borderless']) self.set_real_transparency(self.config['enable_real_transparency']) if self.hidebound: