From: Stefan Pluecken Date: Sat, 28 Jan 2006 00:07:24 +0000 (+0000) Subject: use ScrollLabel in update plugin to let the user see the whole result of the update... X-Git-Tag: 2.6.0~4237 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/9933f445cf49297d24533912dfda29de701bcc49 use ScrollLabel in update plugin to let the user see the whole result of the update process --- 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