git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add tagging to possible dream info handler prerequisites
[enigma2.git]
/
lib
/
python
/
Screens
/
Standby.py
diff --git
a/lib/python/Screens/Standby.py
b/lib/python/Screens/Standby.py
index 6807c1aac75a3ca9562134740e90da68b54795ad..4cda9d190cf1e80bfa45619f4cae9275e1061da1 100644
(file)
--- a/
lib/python/Screens/Standby.py
+++ b/
lib/python/Screens/Standby.py
@@
-2,8
+2,7
@@
from Screen import Screen
from Components.ActionMap import ActionMap
from Components.config import config
from Components.AVSwitch import AVSwitch
from Components.ActionMap import ActionMap
from Components.config import config
from Components.AVSwitch import AVSwitch
-from enigma import eDVBVolumecontrol, eDBoxLCD
-from Components.Sources.Source import ObsoleteSource
+from enigma import eDVBVolumecontrol
inStandby = None
inStandby = None
@@
-18,7
+17,7
@@
class Standby(Screen):
#unmute adc
self.leaveMute()
#set brightness of lcd
#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)
#kill me
self.close(True)
@@
-54,7
+53,7
@@
class Standby(Screen):
#set input to vcr scart
self.avswitch.setInput("SCART")
#set lcd brightness to standby value
#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)
self.onShow.append(self.__onShow)
self.onHide.append(self.__onHide)
@@
-83,7
+82,6
@@
class StandbySummary(Screen):
def __init__(self, session, parent):
Screen.__init__(self, session)
def __init__(self, session, parent):
Screen.__init__(self, session)
- self["CurrentTime"] = ObsoleteSource(new_source = "global.CurrentTime", removal_date = "2008-01")
from enigma import quitMainloop, iRecordableService
from Screens.MessageBox import MessageBox
from enigma import quitMainloop, iRecordableService
from Screens.MessageBox import MessageBox