diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-06 19:17:00 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-06 19:17:00 +0000 |
| commit | ad4168c7352a1bae9c84e1678b40ed337cb1d9b8 (patch) | |
| tree | ee041b8fcd52002b8f09ec4ef315dec0e48d798d /lib/python | |
| parent | ed6ab83ab71bbef6d8df689f9ea7f9c1474f625f (diff) | |
| download | enigma2-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.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): |
