From 96114aa86382b4305d7d2950d082150ae6398a6e Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Wed, 19 Aug 2009 01:04:53 +0100 Subject: [PATCH] now config is borg we don't need to pass handles around --- terminatorlib/container.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/terminatorlib/container.py b/terminatorlib/container.py index 107f9f7b..979f06a0 100755 --- a/terminatorlib/container.py +++ b/terminatorlib/container.py @@ -5,6 +5,8 @@ import gobject +from config import Config + # pylint: disable-msg=R0921 class Container(object): """Base class for Terminator Containers""" @@ -25,10 +27,10 @@ class Container(object): } ] - def __init__(self, configobject): + def __init__(self): """Class initialiser""" self.children = [] - self.config = configobject + self.config = Config() def register_signals(self, widget): """Register gobject signals in a way that avoids multiple inheritance"""