diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-01 08:41:25 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-01 08:41:25 +0000 |
| commit | c942b1c829bf49d77dcdb2bfda776e6288c99828 (patch) | |
| tree | 2ba7c5b0d12db187ab555776583141e00c7f232d /lib/python | |
| parent | 7663898c2a6f536b59965f8c1978f7d268bdfc13 (diff) | |
| download | enigma2-c942b1c829bf49d77dcdb2bfda776e6288c99828.tar.gz enigma2-c942b1c829bf49d77dcdb2bfda776e6288c99828.zip | |
add blinking dish-picture if positioner is moving (we need a function which returns true when the positioner is moving for it to
work)
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Components/BlinkingPixmap.py | 2 | ||||
| -rw-r--r-- | lib/python/Screens/InfoBar.py | 6 | ||||
| -rw-r--r-- | lib/python/Screens/InfoBarGenerics.py | 6 | ||||
| -rw-r--r-- | lib/python/Screens/Makefile.am | 3 |
4 files changed, 12 insertions, 5 deletions
diff --git a/lib/python/Components/BlinkingPixmap.py b/lib/python/Components/BlinkingPixmap.py index 45b8a06b..b19bdc5d 100644 --- a/lib/python/Components/BlinkingPixmap.py +++ b/lib/python/Components/BlinkingPixmap.py @@ -8,7 +8,7 @@ class BlinkingPixmap(Pixmap): def __init__(self): Pixmap.__init__(self) - self.blinking = False + self.blinking = True self.setBlinkTime(500) diff --git a/lib/python/Screens/InfoBar.py b/lib/python/Screens/InfoBar.py index 3ddb1c3c..45a0538b 100644 --- a/lib/python/Screens/InfoBar.py +++ b/lib/python/Screens/InfoBar.py @@ -12,7 +12,7 @@ from Tools.Notifications import AddNotificationWithCallback from Screens.InfoBarGenerics import InfoBarVolumeControl, InfoBarShowHide, \ InfoBarPowerKey, InfoBarNumberZap, InfoBarChannelSelection, InfoBarMenu, \ InfoBarEPG, InfoBarEvent, InfoBarServiceName, InfoBarPVR, InfoBarInstantRecord, \ - InfoBarAudioSelection, InfoBarAdditionalInfo, InfoBarNotifications + InfoBarAudioSelection, InfoBarAdditionalInfo, InfoBarNotifications, InfoBarDish from Screens.HelpMenu import HelpableScreen, HelpMenu @@ -23,7 +23,7 @@ import time class InfoBar(Screen, InfoBarVolumeControl, InfoBarShowHide, InfoBarPowerKey, InfoBarNumberZap, InfoBarChannelSelection, InfoBarMenu, InfoBarEPG, InfoBarEvent, InfoBarServiceName, InfoBarInstantRecord, InfoBarAudioSelection, - HelpableScreen, InfoBarAdditionalInfo, InfoBarNotifications): + HelpableScreen, InfoBarAdditionalInfo, InfoBarNotifications, InfoBarDish): def __init__(self, session): Screen.__init__(self, session) @@ -37,7 +37,7 @@ class InfoBar(Screen, InfoBarVolumeControl, InfoBarShowHide, InfoBarPowerKey, InfoBarVolumeControl, InfoBarShowHide, InfoBarPowerKey, \ InfoBarNumberZap, InfoBarChannelSelection, InfoBarMenu, InfoBarEPG, \ InfoBarEvent, InfoBarServiceName, InfoBarInstantRecord, InfoBarAudioSelection, \ - InfoBarAdditionalInfo, InfoBarNotifications: + InfoBarAdditionalInfo, InfoBarNotifications, InfoBarDish: x.__init__(self) self.helpList.append((self["actions"], "InfobarActions", [("showMovies", "Watch a Movie...")])) diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index c1842796..ddfac4a0 100644 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -17,6 +17,7 @@ from EpgSelection import EPGSelection from Screens.MessageBox import MessageBox from Screens.Volume import Volume from Screens.Mute import Mute +from Screens.Dish import Dish from Screens.Standby import Standby from Screens.EventView import EventView @@ -89,6 +90,11 @@ class InfoBarVolumeControl: else: self.muteDialog.instance.hide() +class InfoBarDish: + def __init__(self): + self.dishDialog = self.session.instantiateDialog(Dish) + self.onShown.append(self.dishDialog.instance.show) + class InfoBarShowHide: """ InfoBar show/hide control, accepts toggleShow and hide actions, might start fancy animations. """ diff --git a/lib/python/Screens/Makefile.am b/lib/python/Screens/Makefile.am index cb54ec5b..20e0961b 100644 --- a/lib/python/Screens/Makefile.am +++ b/lib/python/Screens/Makefile.am @@ -6,4 +6,5 @@ install_PYTHON = \ MovieSelection.py Setup.py About.py HarddiskSetup.py FixedMenu.py \ Satconfig.py ScanSetup.py NetworkSetup.py Ci.py TimerEntry.py Volume.py \ EpgSelection.py EventView.py Mute.py Standby.py ServiceInfo.py \ - AudioSelection.py InfoBarGenerics.py HelpMenu.py Wizard.py __init__.py + AudioSelection.py InfoBarGenerics.py HelpMenu.py Wizard.py __init__.py \ + Dish.py |
