From 13e3018673a588fe5225bc1c3fe893593a9eadb3 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Tue, 15 Jul 2008 09:33:50 +0000 Subject: display "audio" instead of "timeshift" in the infobar next to the yellow knob for new rc boxes --- lib/python/Screens/InfoBarGenerics.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/python') 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: -- cgit v1.2.3