diff options
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Screens/InfoBarGenerics.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index cd9719bd..dc597d22 100644 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -548,15 +548,17 @@ class InfoBarAdditionalInfo: self["ButtonRed"] = Pixmap() self["ButtonRedText"] = Label(_("Record")) + self["ButtonGreen"] = PixmapConditional() self["ButtonGreen"].setConnect(lambda: self.session.nav.getCurrentService().subServices().getNumberOfSubservices() > 0) -# self["ButtonGreenText"] = Label(text = _("Subservices")) self["ButtonGreenText"] = LabelConditional(text = _("Subservices"), withTimer = True) self["ButtonGreenText"].setConnect(lambda: self.session.nav.getCurrentService().subServices().getNumberOfSubservices() > 0) -# self["ButtonGreenText"].hide() -# self["ButtonGreen"].hidePixmap() -# self["ButtonYellow"] = Pixmap() -# self["ButtonBlue"] = Pixmap() + + self["ButtonYellow"] = PixmapConditional() + self["ButtonYellow"].setConnect(lambda: False) + + self["ButtonBlue"] = PixmapConditional() + self["ButtonBlue"].setConnect(lambda: False) class InfoBarNotifications: def __init__(self): |
