diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-02-23 00:56:07 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-02-23 00:56:07 +0000 |
| commit | 5c190ae9fad609392f8f91ae931168acf862dbd9 (patch) | |
| tree | 8749bffb7284b3848ee8c14e1777f4347f08b535 /lib/python | |
| parent | 2da258f15c76a836b97861c3e5518455a24a6176 (diff) | |
| download | enigma2-5c190ae9fad609392f8f91ae931168acf862dbd9.tar.gz enigma2-5c190ae9fad609392f8f91ae931168acf862dbd9.zip | |
set title after layout is finished (doesn't work)
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") |
