aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorRonny Strutz <ronny.strutz@multimedia-labs.de>2005-11-12 18:31:34 +0000
committerRonny Strutz <ronny.strutz@multimedia-labs.de>2005-11-12 18:31:34 +0000
commit6c4436a60b0d992131ea5ac47b783a35704d150b (patch)
tree26294374c18fd5b77380d1d14b4f705bc9b7d45c /lib/python
parentf55508ca1929ca0a8ec522e4261e83e34d4fffee (diff)
downloadenigma2-6c4436a60b0d992131ea5ac47b783a35704d150b.tar.gz
enigma2-6c4436a60b0d992131ea5ac47b783a35704d150b.zip
numberzap accepts a maximum of 4 digits
add standby screen
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/InfoBar.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/python/Screens/InfoBar.py b/lib/python/Screens/InfoBar.py
index bf1d904b..46ba24b1 100644
--- a/lib/python/Screens/InfoBar.py
+++ b/lib/python/Screens/InfoBar.py
@@ -15,6 +15,7 @@ from Screens.MessageBox import MessageBox
from Screens.MovieSelection import MovieSelection
from Screens.Volume import Volume
from Screens.Mute import Mute
+from Screens.Standby import Standby
from enigma import *
@@ -37,6 +38,8 @@ class NumberZap(Screen):
self.Timer.start(3000) #reset timer
self.field = self.field + str(number)
self["number"].setText(self.field)
+ if len(self.field) >= 4:
+ self.keyOK()
def __init__(self, session, number):
Screen.__init__(self, session)
@@ -221,8 +224,9 @@ class InfoBar(Screen):
self.session.open(EPGSelection, self.session.nav.getCurrentlyPlayingServiceReference())
def quit(self):
- configfile.save()
- quitMainloop()
+ self.session.open(Standby)
+ #configfile.save()
+ #quitMainloop()
def stopCurrentRecording(self):
print "remove entry"