def init(self): from messenger.proto import ServerSettings self.server = ServerSettings() doc_loaders.load(self) self.lobby.onSettingsLoaded(self) from account_helpers.settings_core.SettingsCore import g_settingsCore g_settingsCore.onSettingsChanged += self.__accs_onSettingsChanged
def init(self): self.__colorsSchemes.update({ 'groups': _ColorScheme(['default']), 'rosters': _ColorScheme(['online', 'offline']), 'contacts': _ColorScheme(['online', 'offline']), 'battle/player': _ColorScheme(['default', 'colorBlind']), 'battle/message': _ColorScheme(['default', 'colorBlind']), 'battle/receiver': _ColorScheme(['default', 'colorBlind']) }) from messenger.proto import ServerSettings self.server = ServerSettings() doc_loaders.load(self) self.lobby.onSettingsLoaded(self) self.settingsCore.onSettingsChanged += self.__accs_onSettingsChanged