aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorRonny Strutz <ronny.strutz@multimedia-labs.de>2005-11-13 13:59:57 +0000
committerRonny Strutz <ronny.strutz@multimedia-labs.de>2005-11-13 13:59:57 +0000
commitcae001777c7b32bdb4f6f4199e9f49058946fe9f (patch)
tree5ee86833ae7d61b57d6d5d4f920e5efec279bc5e /lib/python
parentebd311a360520b661c0853bfbef643620bbcfda7 (diff)
downloadenigma2-cae001777c7b32bdb4f6f4199e9f49058946fe9f.tar.gz
enigma2-cae001777c7b32bdb4f6f4199e9f49058946fe9f.zip
fixme: stopService()
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/Standby.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/python/Screens/Standby.py b/lib/python/Screens/Standby.py
index 1b648e55..a2c3ded4 100644
--- a/lib/python/Screens/Standby.py
+++ b/lib/python/Screens/Standby.py
@@ -4,18 +4,21 @@ from Components.ActionMap import ActionMap
class Standby(Screen):
def Power(self):
print "leave standby"
+ #start last played service
+ self.infobar.servicelist.zap()
self.close()
- def __init__(self, session):
+ def __init__(self, session, infobar):
Screen.__init__(self, session)
-
+ self.infobar = infobar
print "enter standby"
self["actions"] = ActionMap( [ "StandbyActions" ],
{
"power": self.Power
})
-
+
+ self.session.nav.stopService()
#stop/pause? playing services
#switch off avs
\ No newline at end of file