enigma2: fix patch filename
[opendreambox.git] / meta-opendreambox / recipes-dreambox / enigma2 / enigma2 / 0001-InfoBarServiceErrorSupport-close-stateinfo-onClose.patch
1 From ef23ebc0676c781c609150d0287704999c886b37 Mon Sep 17 00:00:00 2001
2 From: reichi <reichi@opendreambox.org>
3 Date: Mon, 4 Sep 2017 09:08:29 +0200
4 Subject: [PATCH] InfoBarServiceErrorSupport: close stateinfo onClose (fixes
5  stalled InfoBarStateInfos)
6
7 ---
8  lib/python/Screens/InfoBarGenerics.py | 4 ++++
9  1 file changed, 4 insertions(+)
10
11 diff --git a/usr/lib/enigma2/python/Screens/InfoBarGenerics.py b/usr/lib/enigma2/python/Screens/InfoBarGenerics.py
12 index 22089d9..2667a68 100644
13 --- a/usr/lib/enigma2/python/Screens/InfoBarGenerics.py
14 +++ b/usr/lib/enigma2/python/Screens/InfoBarGenerics.py
15 @@ -2550,6 +2550,10 @@ class InfoBarServiceErrorPopupSupport:
16                 self._reconnTimer = eTimer()
17                 self._reconnTimer_conn = self._reconnTimer.timeout.connect(self._doReconnect)
18                 self.__servicePlaying()
19 +               self.onClose.append(self.__onClose)
20 +
21 +       def __onClose(self):
22 +               self._stateInfo.close()
23  
24         def setPlaybackState(self, state=None, message=None):
25                 Log.w("%s %s %s" %(state, message, time()))
26 -- 
27 2.7.4
28