aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/TimerEntry.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-22 13:18:50 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-22 13:18:50 +0000
commitf43943087f01dca40b5bda702340bed885bcc891 (patch)
tree66713a52af068a74c93a6382a09fe99e1fe267e7 /lib/python/Screens/TimerEntry.py
parent1d434656236b098f062f174dee390e8d34435d4c (diff)
downloadenigma2-f43943087f01dca40b5bda702340bed885bcc891.tar.gz
enigma2-f43943087f01dca40b5bda702340bed885bcc891.zip
add ugly buttons to the TimerEntry and change behaviour on pressing OK
Diffstat (limited to 'lib/python/Screens/TimerEntry.py')
-rw-r--r--lib/python/Screens/TimerEntry.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/python/Screens/TimerEntry.py b/lib/python/Screens/TimerEntry.py
index b00d16dc..467f851f 100644
--- a/lib/python/Screens/TimerEntry.py
+++ b/lib/python/Screens/TimerEntry.py
@@ -12,12 +12,16 @@ class TimerEntry(Screen):
def __init__(self, session, timer):
Screen.__init__(self, session)
self.timer = timer;
+
+ self["ok"] = Label("OK")
+ self["cancel"] = Label("Cancel")
self.createConfig()
self["actions"] = NumberActionMap(["SetupActions"],
{
- "ok": self.keyGo,
+ "ok": self.keySelect,
+ "save": self.keyGo,
"cancel": self.keyCancel,
"left": self.keyLeft,
"right": self.keyRight,
@@ -167,6 +171,9 @@ class TimerEntry(Screen):
def keyRight(self):
self["config"].handleKey(config.key["nextElement"])
self.newConfig()
+
+ def keySelect(self):
+ pass
def keyNumberGlobal(self, number):
print "You pressed number " + str(number)