X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/e5e3a46df6a0cf6cbc0f8043863fcea9c6029659..a49930b82dabfd301ad358e0e014ae9327d6afe8:/lib/python/Screens/InfoBarGenerics.py diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index a6ff8d7d..c7fce347 100644 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -66,7 +66,7 @@ class InfoBarShowHide: { "toggleShow": self.toggleShow, "hide": self.hide, - }) + }, 1) # lower prio to make it possible to override ok and cancel.. self.__state = self.STATE_SHOWN self.__locked = 0 @@ -609,6 +609,8 @@ class InfoBarSeek: }, prio=-1) # give them a little more priority to win over color buttons + self["SeekActions"].setEnabled(False) + self.seekstate = self.SEEK_STATE_PLAY self.onClose.append(self.delTimer) @@ -1563,8 +1565,6 @@ class InfoBarAdditionalInfo: res_mgr.frontendUseMaskChanged.get().append(self.tunerUseMaskChanged) def tunerUseMaskChanged(self, mask): - if mask == 0: - self.checkTunerState(None) if mask&1: self["NimA_Active"].show() else: @@ -1589,7 +1589,7 @@ class InfoBarAdditionalInfo: def gotServiceEvent(self, ev): service = self.session.nav.getCurrentService() - if ev == iPlayableService.evUpdatedInfo: + if ev == iPlayableService.evUpdatedInfo or ev == iPlayableService.evEnd: self.checkTunerState(service) class InfoBarNotifications: @@ -1611,6 +1611,11 @@ class InfoBarNotifications: Notifications.notifications = Notifications.notifications[1:] cb = n[0] + + if n[3].has_key("onSessionOpenCallback"): + n[3]["onSessionOpenCallback"]() + del n[3]["onSessionOpenCallback"] + if cb is not None: dlg = self.session.openWithCallback(cb, n[1], *n[2], **n[3]) else: