X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d4a222aff5af90a8bdd9b20a60c89f4b9761e736..1c21fe13bb453d0f11c8a40461b3bfe7dba5cef1:/lib/python/Screens/Standby.py diff --git a/lib/python/Screens/Standby.py b/lib/python/Screens/Standby.py index 6807c1aa..b8af16f5 100644 --- a/lib/python/Screens/Standby.py +++ b/lib/python/Screens/Standby.py @@ -2,7 +2,7 @@ from Screen import Screen from Components.ActionMap import ActionMap from Components.config import config from Components.AVSwitch import AVSwitch -from enigma import eDVBVolumecontrol, eDBoxLCD +from enigma import eDVBVolumecontrol from Components.Sources.Source import ObsoleteSource inStandby = None @@ -18,7 +18,7 @@ class Standby(Screen): #unmute adc self.leaveMute() #set brightness of lcd - eDBoxLCD.getInstance().setLCDBrightness(config.lcd.bright.value * 20) + config.lcd.bright.apply() #kill me self.close(True) @@ -54,7 +54,7 @@ class Standby(Screen): #set input to vcr scart self.avswitch.setInput("SCART") #set lcd brightness to standby value - eDBoxLCD.getInstance().setLCDBrightness(config.lcd.standby.value * 20) + config.lcd.standby.apply() self.onShow.append(self.__onShow) self.onHide.append(self.__onHide)