def run(self, plugin): self.dialog.set_title("Zeobuilder plugin information: %s" % plugin.id) self.la_category.set_label(plugin.category) self.la_required_modules.set_label(",".join(plugin.required_modules)) self.la_failed_modules.set_label(",".join(plugin.failed_modules)) self.la_failed_modules.set_label(",".join(plugin.failed_modules)) self.la_status.set_label(plugin.status) self.la_file.set_label(plugin.module.__file__) if hasattr(plugin, "authors"): self.vb_authors.show_all() authors.fill_store(self.author_store, plugin.authors) else: self.author_store.clear() self.vb_authors.hide() self.sw_extra.hide() self.dialog.run() self.dialog.hide()
def __init__(self): BaseDialog.__init__(self, "di_credits") self.init_proxies(["tv_authors", "bu_information"]) author_store = authors.init_widgets(self.tv_authors, self.bu_information) authors.fill_store(author_store)