aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-07-15 09:33:50 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-07-15 09:33:50 +0000
commit13e3018673a588fe5225bc1c3fe893593a9eadb3 (patch)
tree11bb4995f83fd95779925794a45e22c4030619e3 /lib/python
parent642ad899328bf7c029a9a1ef73e29d4cb9558c3d (diff)
downloadenigma2-13e3018673a588fe5225bc1c3fe893593a9eadb3.tar.gz
enigma2-13e3018673a588fe5225bc1c3fe893593a9eadb3.zip
display "audio" instead of "timeshift" in the infobar next to the yellow knob for new rc boxes
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/InfoBarGenerics.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py
index 4526a0c6..718c2d54 100644
--- a/lib/python/Screens/InfoBarGenerics.py
+++ b/lib/python/Screens/InfoBarGenerics.py
@@ -1732,7 +1732,9 @@ class InfoBarAdditionalInfo:
def __init__(self):
self["RecordingPossible"] = Boolean(fixed=harddiskmanager.HDDCount() > 0)
- self["TimeshiftPossible"] = self["RecordingPossible"]
+ self["TimeshiftPossible"] = Boolean(fixed=(harddiskmanager.HDDCount() > 0 and config.misc.rcused.value == 1))
+ self["ShowTimeshiftOnYellow"] = Boolean(fixed=(not config.misc.rcused.value == 0))
+ self["ShowAudioOnYellow"] = Boolean(fixed=config.misc.rcused.value == 0)
self["ExtensionsAvailable"] = Boolean(fixed=1)
class InfoBarNotifications: