Add some more of our attributes

This commit is contained in:
Chris Jones 2009-09-04 22:11:52 +01:00
parent 718a15706f
commit 28e7ee6116
1 changed files with 7 additions and 1 deletions

View File

@ -5,7 +5,6 @@
from borg import Borg
class Terminator(Borg):
"""master object for the application"""
@ -14,6 +13,9 @@ class Terminator(Borg):
terminals = None
groups = None
config = None
splittogroup = None
autocleangroups = None
groupsend = None
groupsend_type = {'all':0, 'group':1, 'off':2}
@ -32,6 +34,10 @@ class Terminator(Borg):
self.groups = []
if not self.groupsend:
self.groupsend = self.groupsend_type['group']
if not self.splittogroup:
self.splittogroup = False
if not self.autocleangroups:
self.autocleangroups = True
def register_terminal(self, terminal):
"""Register a new terminal widget"""