aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2009-02-09 13:30:05 +0100
committerFelix Domke <tmbinc@elitedvb.net>2009-02-09 13:30:05 +0100
commit718ab3c10238548b0daf968ee35867d5008b1a4a (patch)
tree63653f22b3c86ac3fd70178761f79b8bbd356b22 /lib/python
parent7e8ac9dc454a3b6edc2d3c68e1ec92765e4fd34f (diff)
downloadenigma2-718ab3c10238548b0daf968ee35867d5008b1a4a.tar.gz
enigma2-718ab3c10238548b0daf968ee35867d5008b1a4a.zip
fix 'play' doesn't disappear when config.usage.show_infobar_on_skip is set
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/InfoBarGenerics.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py
index d0aa44b8..9e0e50af 100644
--- a/lib/python/Screens/InfoBarGenerics.py
+++ b/lib/python/Screens/InfoBarGenerics.py
@@ -1024,7 +1024,13 @@ class InfoBarPVRState:
def __playStateChanged(self, state):
playstateString = state[3]
self.pvrStateDialog["state"].setText(playstateString)
- self._mayShow()
+
+ # 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:
+ self.pvrStateDialog.hide()
+ else:
+ self._mayShow()
+
class InfoBarTimeshiftState(InfoBarPVRState):
def __init__(self):