aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-06 19:17:00 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-06 19:17:00 +0000
commitad4168c7352a1bae9c84e1678b40ed337cb1d9b8 (patch)
treeee041b8fcd52002b8f09ec4ef315dec0e48d798d /lib/python
parented6ab83ab71bbef6d8df689f9ea7f9c1474f625f (diff)
downloadenigma2-ad4168c7352a1bae9c84e1678b40ed337cb1d9b8.tar.gz
enigma2-ad4168c7352a1bae9c84e1678b40ed337cb1d9b8.zip
use PixmapConditional for yellow and blue buttons
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/InfoBarGenerics.py12
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):