diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-07-30 20:20:34 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-07-30 20:20:34 +0000 |
| commit | d0f2817f1832e912282c886454e4f8112da56966 (patch) | |
| tree | c56e018b3f0281cc9d5d3695c3dffa8eace19034 /lib/python/Screens | |
| parent | 8cada4eb31be58a3fa3efa09afbf431b3b62ca08 (diff) | |
| download | enigma2-d0f2817f1832e912282c886454e4f8112da56966.tar.gz enigma2-d0f2817f1832e912282c886454e4f8112da56966.zip | |
allow standby only in InfoBar, MoviePlayer, Menus, Setup and Radiomode
Diffstat (limited to 'lib/python/Screens')
| -rw-r--r-- | lib/python/Screens/ChannelSelection.py | 3 | ||||
| -rw-r--r-- | lib/python/Screens/InfoBar.py | 3 | ||||
| -rw-r--r-- | lib/python/Screens/Menu.py | 3 | ||||
| -rw-r--r-- | lib/python/Screens/Screen.py | 3 | ||||
| -rw-r--r-- | lib/python/Screens/Setup.py | 3 |
5 files changed, 14 insertions, 1 deletions
diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py index 90c12a5d..6239b001 100644 --- a/lib/python/Screens/ChannelSelection.py +++ b/lib/python/Screens/ChannelSelection.py @@ -1118,6 +1118,9 @@ class RadioInfoBar(Screen, InfoBarEvent, InfoBarServiceName, InfoBarInstantRecor self["CurrentTime"] = Clock() class ChannelSelectionRadio(ChannelSelectionBase, ChannelSelectionEdit, ChannelSelectionEPG): + + ALLOW_SUSPEND = True + def __init__(self, session): ChannelSelectionBase.__init__(self, session) ChannelSelectionEdit.__init__(self) diff --git a/lib/python/Screens/InfoBar.py b/lib/python/Screens/InfoBar.py index 471b1abe..0a297fbf 100644 --- a/lib/python/Screens/InfoBar.py +++ b/lib/python/Screens/InfoBar.py @@ -34,6 +34,8 @@ class InfoBar(InfoBarShowHide, InfoBarSubserviceSelection, InfoBarTuner, InfoBarTimeshift, InfoBarSeek, InfoBarSummarySupport, InfoBarTimeshiftState, InfoBarTeletextPlugin, InfoBarExtensions, InfoBarSubtitleSupport, Screen): + + ALLOW_SUSPEND = True def __init__(self, session): Screen.__init__(self, session) @@ -84,6 +86,7 @@ class MoviePlayer(InfoBarShowHide, \ InfoBarSummarySupport, InfoBarTeletextPlugin, InfoBarSubtitleSupport, Screen): ENABLE_RESUME_SUPPORT = True + ALLOW_SUSPEND = True def __init__(self, session, service): Screen.__init__(self, session) diff --git a/lib/python/Screens/Menu.py b/lib/python/Screens/Menu.py index da07be16..1390b51a 100644 --- a/lib/python/Screens/Menu.py +++ b/lib/python/Screens/Menu.py @@ -89,6 +89,9 @@ class MenuSummary(Screen): self["MenuEntry"].setText(self.parent["menu"].getCurrent()[0]) class Menu(Screen): + + ALLOW_SUSPEND = True + def okbuttonClick(self): print "okbuttonClick" selection = self["menu"].getCurrent() diff --git a/lib/python/Screens/Screen.py b/lib/python/Screens/Screen.py index 0727f78b..b581e62b 100644 --- a/lib/python/Screens/Screen.py +++ b/lib/python/Screens/Screen.py @@ -5,7 +5,8 @@ from Components.Sources.Source import Source import sys class Screen(dict, HTMLSkin, GUISkin): - """ bla """ + + ALLOW_SUSPEND = False def __init__(self, session): self.skinName = self.__class__.__name__ diff --git a/lib/python/Screens/Setup.py b/lib/python/Screens/Setup.py index 0d4764ac..746c26d3 100644 --- a/lib/python/Screens/Setup.py +++ b/lib/python/Screens/Setup.py @@ -54,6 +54,9 @@ class SetupSummary(Screen): self["SetupValue"].text = self.parent.getCurrentValue() class Setup(Screen): + + ALLOW_SUSPEND = True + def __init__(self, session, setup): Screen.__init__(self, session) |
