def init(self): self.update_blocks() # Load plugins for plugin in System.get_plugins(): plugin.load(self.main_window) self.main_window.menu.update_recent_files() self.main_window.menu.update_examples()
def init(self): # Load plugins self.update_blocks() for plugin in System.get_plugins(): plugin.load(self.main_window) self.main_window.menu.update_recent_files( System.get_preferences().recent_files) self.main_window.menu.update_examples(System.get_list_of_examples())
def test_get_plugins(self): System.get_plugins()