diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-12-31 16:15:16 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-12-31 16:15:16 +0000 |
| commit | efa41fe76ddfee368009a914bc9b4bff54dee8ce (patch) | |
| tree | ce6d32a6ffa5f5195255f32757b5175277b5041e /lib/python | |
| parent | abcc03fa546d408b9a858c0e1681deabfbdc3cd5 (diff) | |
| download | enigma2-efa41fe76ddfee368009a914bc9b4bff54dee8ce.tar.gz enigma2-efa41fe76ddfee368009a914bc9b4bff54dee8ce.zip | |
always show timeshift state when infobar is visible (not only when state is
not play)
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Screens/InfoBarGenerics.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index 0fdc6468..57194791 100644 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -860,14 +860,15 @@ class InfoBarSeek: from Screens.PVRState import PVRState, TimeshiftState class InfoBarPVRState: - def __init__(self, screen=PVRState): + def __init__(self, screen=PVRState, show_always=False): + self.show_always = show_always self.onPlayStateChanged.append(self.__playStateChanged) self.pvrStateDialog = self.session.instantiateDialog(screen) self.onShow.append(self.__mayShow) self.onHide.append(self.pvrStateDialog.hide) def __mayShow(self): - if self.seekstate != self.SEEK_STATE_PLAY and self.execing: + if self.execing and (self.show_always or self.seekstate != self.SEEK_STATE_PLAY): self.pvrStateDialog.show() def __playStateChanged(self, state): @@ -877,7 +878,7 @@ class InfoBarPVRState: class InfoBarTimeshiftState(InfoBarPVRState): def __init__(self): - InfoBarPVRState.__init__(self, screen=TimeshiftState) + InfoBarPVRState.__init__(self, screen=TimeshiftState, show_always=True) class InfoBarShowMovies: |
