aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-01-28 00:07:24 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-01-28 00:07:24 +0000
commit9933f445cf49297d24533912dfda29de701bcc49 (patch)
tree40c116af940538993978d1ce2b394b328f79a63e /lib/python/Plugins
parent337abafccb432224951d860b7b540e5540eb590a (diff)
downloadenigma2-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.py10
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