+ if fileExists(resolveFilename(SCOPE_PLUGINS, "SystemPlugins/SoftwareManager/plugin.py")):
+ self["red"].setText(_("Manage extensions"))
+ self["green"].setText("")
+ self["SoftwareActions"].setEnabled(True)
+ self["PluginDownloadActions"].setEnabled(False)
+ else:
+ self["red"].setText(_("Remove Plugins"))
+ self["green"].setText(_("Download Plugins"))
+ self["SoftwareActions"].setEnabled(False)
+ self["PluginDownloadActions"].setEnabled(True)
+