X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/5c190ae9fad609392f8f91ae931168acf862dbd9..398f5f7ff4b4d37ef55e9d49c178133e970fdac4:/lib/python/Screens/PluginBrowser.py diff --git a/lib/python/Screens/PluginBrowser.py b/lib/python/Screens/PluginBrowser.py index 86f4a6b9..e40dc8a6 100644 --- a/lib/python/Screens/PluginBrowser.py +++ b/lib/python/Screens/PluginBrowser.py @@ -68,6 +68,7 @@ class PluginDownloadBrowser(Screen): self.container.appClosed.get().append(self.runFinished) self.container.dataAvail.get().append(self.dataAvail) self.onLayoutFinish.append(self.startRun) + self.onShown.append(self.setTitle) self.list = [] self["list"] = PluginList(self.list) @@ -100,11 +101,13 @@ class PluginDownloadBrowser(Screen): elif self.type == self.REMOVE: self.session.openWithCallback(self.installFinished, Console, ["ipkg remove " + self.pluginlist[self["list"].l.getCurrentSelectionIndex()][0]]) - def startRun(self): + def setTitle(self): if self.type == self.DOWNLOAD: - self.session.currentDialog.instance.setTitle(_("Downloadale new plugins")) + self.session.currentDialog.instance.setTitle(_("Downloadable new plugins")) elif self.type == self.REMOVE: self.session.currentDialog.instance.setTitle(_("Remove plugins")) + + def startRun(self): self["list"].instance.hide() self.container.execute("ipkg update")