aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-01-03 11:36:12 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-01-03 11:36:12 +0000
commit8c84c2a2c0b8d33404540ab50278de63d3c7fccc (patch)
tree459da3b9d783301474079ceee7748ab714de6920 /lib/python
parentd25cc68147eac7b8e7628a9abdffe55a758612a3 (diff)
downloadenigma2-8c84c2a2c0b8d33404540ab50278de63d3c7fccc.tar.gz
enigma2-8c84c2a2c0b8d33404540ab50278de63d3c7fccc.zip
fix hdd initialize button
change "Abbrechen" to "Abbruch" to fit onto the pixmap fix videomode after standby
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/Standby.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/python/Screens/Standby.py b/lib/python/Screens/Standby.py
index 09a87ce6..217f334c 100644
--- a/lib/python/Screens/Standby.py
+++ b/lib/python/Screens/Standby.py
@@ -1,13 +1,14 @@
from Screen import Screen
from Components.ActionMap import ActionMap
from Components.config import config
+from Components.AVSwitch import AVSwitch
from enigma import *
class Standby(Screen):
def Power(self):
print "leave standby"
#set input to encoder
- eAVSwitch.getInstance().setInput(0)
+ self.avswitch.setInput("ENCODER")
#start last played service
#self.infobar.servicelist.zap()
self.session.nav.playService(eServiceReference(config.tv.lastservice.value))
@@ -34,6 +35,7 @@ class Standby(Screen):
def __init__(self, session, infobar):
Screen.__init__(self, session)
self.infobar = infobar
+ self. avswitch = AVSwitch()
print "enter standby"
self["actions"] = ActionMap( [ "StandbyActions" ],
@@ -46,7 +48,7 @@ class Standby(Screen):
#stop actual played dvb-service
self.session.nav.stopService()
#set input to vcr scart
- eAVSwitch.getInstance().setInput(1)
+ self.avswitch.setInput("SCART")
#set lcd brightness to standby value
eDBoxLCD.getInstance().setLCDBrightness(config.lcd.standby.value * 20)
#clear lcd (servicename)