def addList(self): self.configured = [] for name in ExtensionBundle.allExtentions(): extension = Extension(name=name) if extension.configured: self.configured.append(extension) self.settingsList = SettingsList((20,75,-20,-20), self.configured, editCallback=self.update)
def _fetchUpdates(self): updates = [] ignore = Storage.get('ignore') for name in ExtensionBundle.allExtentions(): extension = Extension(name=name) if (not extension.bundle.name in ignore and extension.configured): try: if not extension.is_current_version(): updates.append(extension) except: self.unreachable = True self._setCached(updates) return updates