aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2009-09-03 14:30:40 +0200
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2009-09-03 14:30:40 +0200
commitd19d18a79e0352485851e372442d2ae87dbbd171 (patch)
tree86c97dfb47522c3a3842efdeb03a8b95371ec112 /lib/python
parent87d13ea946e9dc3d7688c81c0d6c6ba8cff61092 (diff)
downloadenigma2-d19d18a79e0352485851e372442d2ae87dbbd171.tar.gz
enigma2-d19d18a79e0352485851e372442d2ae87dbbd171.zip
Add 0 to NumericalTextInputHelpDialog. Check your plugins if the larger help matrix still fits into your screens.
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/NumericalTextInputHelpDialog.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/python/Screens/NumericalTextInputHelpDialog.py b/lib/python/Screens/NumericalTextInputHelpDialog.py
index e0979587..de8e8d66 100644
--- a/lib/python/Screens/NumericalTextInputHelpDialog.py
+++ b/lib/python/Screens/NumericalTextInputHelpDialog.py
@@ -4,13 +4,15 @@ from Components.Label import Label
class NumericalTextInputHelpDialog(Screen):
def __init__(self, session, textinput):
Screen.__init__(self, session)
- for x in (1, 2, 3, 4, 5, 6, 7, 8, 9):
+ self["help1"] = Label(text="<")
+ self["help2"] = Label(text=">")
+ for x in (1, 2, 3, 4, 5, 6, 7, 8, 9, 0):
self["key%d" % x] = Label(text=textinput.mapping[x].encode("utf-8"))
self.last_marked = 0
def update(self, textinput):
- if 1 <= self.last_marked <= 9:
+ if 0 <= self.last_marked <= 9:
self["key%d" % self.last_marked].setMarkedPos(-1)
- if 1 <= textinput.lastKey <= 9:
+ if 0 <= textinput.lastKey <= 9:
self["key%d" % textinput.lastKey].setMarkedPos(textinput.pos)
self.last_marked = textinput.lastKey