diff options
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Screens/PluginBrowser.py | 6 |
1 files changed, 4 insertions, 2 deletions
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") |
