aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-05-26 14:21:56 +0200
committerghost <andreas.monzner@multimedia-labs.de>2010-05-26 14:22:18 +0200
commit4040d03e343303420653659c8d0f49322e2fe721 (patch)
tree0b49f990fb468f1a6ea5cca7686598b2a533df68 /lib/python
parent66fa5d4c7880ccd770b5e4d9b6794769a69e78eb (diff)
downloadenigma2-4040d03e343303420653659c8d0f49322e2fe721.tar.gz
enigma2-4040d03e343303420653659c8d0f49322e2fe721.zip
lib/python/Screens/Standby.py: ignore global actions in standby (i.e. mute/volume)
this fixes bug #538
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/Standby.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/python/Screens/Standby.py b/lib/python/Screens/Standby.py
index 406b87cb..1a7ebbd1 100644
--- a/lib/python/Screens/Standby.py
+++ b/lib/python/Screens/Standby.py
@@ -3,6 +3,7 @@ from Components.ActionMap import ActionMap
from Components.config import config
from Components.AVSwitch import AVSwitch
from Components.SystemInfo import SystemInfo
+from GlobalActions import globalActionMap
from enigma import eDVBVolumecontrol
inStandby = None
@@ -41,6 +42,8 @@ class Standby(Screen):
"power": self.Power
}, -1)
+ globalActionMap.setEnabled(False)
+
#mute adc
self.setMute()
@@ -72,6 +75,7 @@ class Standby(Screen):
elif self.paused_service:
self.paused_service.unPauseService()
self.session.screen["Standby"].boolean = False
+ globalActionMap.setEnabled(True)
def __onFirstExecBegin(self):
global inStandby