aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2009-02-13 01:05:17 +0100
committerFelix Domke <tmbinc@elitedvb.net>2009-02-13 01:05:17 +0100
commitaed27e79c07f8f2463ccefed5ba5c3e1b4352052 (patch)
tree4f32ecf1f48705e36bf08320e7ef5897b4949881 /lib
parent84acac7bf874612b9f287be2622630e9bee386c6 (diff)
downloadenigma2-aed27e79c07f8f2463ccefed5ba5c3e1b4352052.tar.gz
enigma2-aed27e79c07f8f2463ccefed5ba5c3e1b4352052.zip
don't hide play in InfoBarTimeshiftState
Diffstat (limited to 'lib')
-rw-r--r--lib/python/Screens/InfoBarGenerics.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py
index 627a53d2..2b678fbd 100644
--- a/lib/python/Screens/InfoBarGenerics.py
+++ b/lib/python/Screens/InfoBarGenerics.py
@@ -1011,11 +1011,12 @@ class InfoBarSeek:
from Screens.PVRState import PVRState, TimeshiftState
class InfoBarPVRState:
- def __init__(self, screen=PVRState):
+ def __init__(self, screen=PVRState, force_show = False):
self.onPlayStateChanged.append(self.__playStateChanged)
self.pvrStateDialog = self.session.instantiateDialog(screen)
self.onShow.append(self._mayShow)
self.onHide.append(self.pvrStateDialog.hide)
+ self.force_show = force_show
def _mayShow(self):
if self.execing and self.seekstate != self.SEEK_STATE_PLAY:
@@ -1026,7 +1027,7 @@ class InfoBarPVRState:
self.pvrStateDialog["state"].setText(playstateString)
# if we return into "PLAY" state, ensure that the dialog gets hidden if there will be no infobar displayed
- if not config.usage.show_infobar_on_skip.value and self.seekstate == self.SEEK_STATE_PLAY:
+ if not config.usage.show_infobar_on_skip.value and self.seekstate == self.SEEK_STATE_PLAY and not self.force_show:
self.pvrStateDialog.hide()
else:
self._mayShow()
@@ -1034,7 +1035,7 @@ class InfoBarPVRState:
class InfoBarTimeshiftState(InfoBarPVRState):
def __init__(self):
- InfoBarPVRState.__init__(self, screen=TimeshiftState)
+ InfoBarPVRState.__init__(self, screen=TimeshiftState, force_show = True)
def _mayShow(self):
if self.execing and self.timeshift_enabled and self.seekstate != self.SEEK_STATE_PLAY: