From 9933f445cf49297d24533912dfda29de701bcc49 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Sat, 28 Jan 2006 00:07:24 +0000 Subject: [PATCH] use ScrollLabel in update plugin to let the user see the whole result of the update process --- lib/python/Plugins/update/plugin.py | 10 ++++++---- 1 file 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 -- 2.30.2