diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-01-28 00:07:24 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-01-28 00:07:24 +0000 |
| commit | 9933f445cf49297d24533912dfda29de701bcc49 (patch) | |
| tree | 40c116af940538993978d1ce2b394b328f79a63e /lib/python/Plugins | |
| parent | 337abafccb432224951d860b7b540e5540eb590a (diff) | |
| download | enigma2-9933f445cf49297d24533912dfda29de701bcc49.tar.gz enigma2-9933f445cf49297d24533912dfda29de701bcc49.zip | |
use ScrollLabel in update plugin to let the user see the whole result of the update process
Diffstat (limited to 'lib/python/Plugins')
| -rw-r--r-- | lib/python/Plugins/update/plugin.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/python/Plugins/update/plugin.py b/lib/python/Plugins/update/plugin.py index eff4b00a..fb332a5e 100644 --- a/lib/python/Plugins/update/plugin.py +++ b/lib/python/Plugins/update/plugin.py @@ -2,7 +2,7 @@ from enigma import * from Screens.Screen import Screen from Screens.MessageBox import MessageBox from Components.ActionMap import ActionMap -from Components.Label import Label +from Components.ScrollLabel import ScrollLabel from Components.GUIComponent import * import os @@ -17,12 +17,14 @@ class Upgrade(Screen): self.skin = Upgrade.skin Screen.__init__(self, session) - self["text"] = Label(_("Please press OK!")) + self["text"] = ScrollLabel(_("Please press OK!")) - self["actions"] = ActionMap(["WizardActions"], + self["actions"] = ActionMap(["WizardActions", "DirectionActions"], { "ok": self.go, - "back": self.close + "back": self.close, + "up": self["text"].pageUp, + "down": self["text"].pageDown }, -1) self.update = True |
