allow standby only in InfoBar, MoviePlayer, Menus, Setup and Radiomode
[enigma2.git] / lib / python / Screens / InfoBar.py
index ff8e73d205d6c9ff81055789a426f217498c17c6..0a297fbfa201496dacb0cd618f95d361561e8804 100644 (file)
@@ -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)
@@ -82,12 +84,13 @@ class MoviePlayer(InfoBarShowHide, \
                InfoBarServiceName, InfoBarSeek, InfoBarShowMovies, InfoBarAudioSelection, HelpableScreen, InfoBarNotifications,
                InfoBarServiceNotifications, InfoBarPVRState, InfoBarCueSheetSupport, InfoBarSimpleEventView,
                InfoBarSummarySupport, InfoBarTeletextPlugin, InfoBarSubtitleSupport, Screen):
+
+       ENABLE_RESUME_SUPPORT = True
+       ALLOW_SUSPEND = True
                
        def __init__(self, session, service):
                Screen.__init__(self, session)
                
-               self.is_closing = False
-               
                self["actions"] = HelpableActionMap(self, "MoviePlayerActions",
                        {
                                "leavePlayer": (self.leavePlayer, _("leave movie player..."))