(self)
Initialise anything that isn't already
Initialise anything that isn't already
Initialise anything that isn t already
def prepare_attributes(self):
        """Initialise anything that isn't already"""

        if not self.windows:
            self.windows = []
        if not self.launcher_windows:
            self.launcher_windows = []
        if not self.terminals:
            self.terminals = []
        if not self.groups:
            self.groups = []
        if not self.config:
            self.config = Config()
        if self.groupsend == None:
            self.groupsend = self.groupsend_type[self.config['broadcast_default']]
        if not self.keybindings:
            self.keybindings = Keybindings()
            self.keybindings.configure(self.config['keybindings'])
        if not self.style_providers:
            self.style_providers = []
        if not self.doing_layout:
            self.doing_layout = False
        self.connect_signals()
def prepare_attributes ( self ) : if not self . windows : self . windows = [ ] if not self . launcher_windows : self . launcher_windows = [ ] if not self . terminals : self . terminals = [ ] if not self . groups : self . groups = [ ] if not self . config : self . config = Config ( ) if self . groupsend == None : self . groupsend = self . groupsend_type [ self . config [ 'broadcast_default' ] ] if not self . keybindings : self . keybindings = Keybindings ( ) self . keybindings . configure ( self . config [ 'keybindings' ] ) if not self . style_providers : self . style_providers = [ ] if not self . doing_layout : self . doing_layout = False self . connect_signals ( )