From: Ronny Strutz Date: Sat, 12 Nov 2005 18:40:52 +0000 (+0000) Subject: add X-Git-Tag: 2.6.0~5294 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/03368ffabdc8649667ba47d72fd2925ab909c9f3?ds=inline add --- diff --git a/lib/python/Screens/Standby.py b/lib/python/Screens/Standby.py new file mode 100644 index 00000000..1b648e55 --- /dev/null +++ b/lib/python/Screens/Standby.py @@ -0,0 +1,21 @@ +from Screen import Screen +from Components.ActionMap import ActionMap + +class Standby(Screen): + def Power(self): + print "leave standby" + self.close() + + def __init__(self, session): + Screen.__init__(self, session) + + print "enter standby" + + self["actions"] = ActionMap( [ "StandbyActions" ], + { + "power": self.Power + }) + + #stop/pause? playing services + #switch off avs + \ No newline at end of file