From: acid-burn Date: Mon, 28 Dec 2009 19:58:06 +0000 (+0100) Subject: Screens/PluginBrowser.py: - remove possibility to install/remove plugins from Plugins... X-Git-Tag: 2.7.0~10^2~6 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/4fa93c4c98d18601102d8aa2d5606c4e2a824442 Screens/PluginBrowser.py: - remove possibility to install/remove plugins from Plugins Menu. This is now possible over new extension management inside the Software management. this is for bug #112 --- diff --git a/lib/python/Screens/PluginBrowser.py b/lib/python/Screens/PluginBrowser.py index 61bb7d0a..acb9dafb 100755 --- a/lib/python/Screens/PluginBrowser.py +++ b/lib/python/Screens/PluginBrowser.py @@ -22,18 +22,16 @@ class PluginBrowser(Screen): def __init__(self, session): Screen.__init__(self, session) - self["red"] = Label(_("Remove Plugins")) - self["green"] = Label(_("Download Plugins")) + self["red"] = Label() + self["green"] = Label() self.list = [] self["list"] = PluginList(self.list) - self["actions"] = ActionMap(["WizardActions", "ColorActions"], + self["actions"] = ActionMap(["WizardActions"], { "ok": self.save, "back": self.close, - "red": self.delete, - "green": self.download }) self.onFirstExecBegin.append(self.checkWarnings) self.onShown.append(self.updateList) @@ -47,7 +45,6 @@ class PluginBrowser(Screen): self.session.open(MessageBox, text = text, type = MessageBox.TYPE_WARNING) def save(self): - #self.close() self.run() def run(self):