Merge branch 'master' of git.opendreambox.org:/git/enigma2
authorghost <andreas.monzner@multimedia-labs.de>
Mon, 9 Feb 2009 13:50:20 +0000 (14:50 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Mon, 9 Feb 2009 13:50:20 +0000 (14:50 +0100)
lib/python/Screens/InfoBarGenerics.py

index d0aa44b88dcb04ca4a93c7b79b90814c9aa775e3..9e0e50aff7d3ef51a6257deaf14e1086de86df99 100644 (file)
@@ -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):