X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d27d90f79580afe6699bc3bd416c4ea2549ecbd1..5c190ae9fad609392f8f91ae931168acf862dbd9:/lib/python/Screens/PluginBrowser.py diff --git a/lib/python/Screens/PluginBrowser.py b/lib/python/Screens/PluginBrowser.py index c0e85c87..86f4a6b9 100644 --- a/lib/python/Screens/PluginBrowser.py +++ b/lib/python/Screens/PluginBrowser.py @@ -74,10 +74,8 @@ class PluginDownloadBrowser(Screen): self.pluginlist = [] if self.type == self.DOWNLOAD: - self.session.currentDialog.instance.setTitle(_("Downloadale new plugins")) self["text"] = Label(_("Downloading plugin information. Please wait...")) elif self.type == self.REMOVE: - self.session.currentDialog.instance.setTitle(_("Remove plugins")) self["text"] = Label(_("Getting plugin information. Please wait...")) self.run = 0 @@ -103,6 +101,10 @@ class PluginDownloadBrowser(Screen): self.session.openWithCallback(self.installFinished, Console, ["ipkg remove " + self.pluginlist[self["list"].l.getCurrentSelectionIndex()][0]]) def startRun(self): + if self.type == self.DOWNLOAD: + self.session.currentDialog.instance.setTitle(_("Downloadale new plugins")) + elif self.type == self.REMOVE: + self.session.currentDialog.instance.setTitle(_("Remove plugins")) self["list"].instance.hide() self.container.execute("ipkg update")