InfoBarGenerics.py: rename timer to fix automatic infobar hide after channel change
authorghost <andreas.monzner@multimedia-labs.de>
Thu, 31 Dec 2009 08:55:18 +0000 (09:55 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Thu, 31 Dec 2009 09:18:25 +0000 (10:18 +0100)
lib/python/Screens/InfoBarGenerics.py

index 471b251..7ae0b12 100644 (file)
@@ -51,8 +51,8 @@ class InfoBarDish:
 class InfoBarUnhandledKey:
        def __init__(self):
                self.unhandledKeyDialog = self.session.instantiateDialog(UnhandledKey)
-               self.hideTimer = eTimer()
-               self.hideTimer.callback.append(self.unhandledKeyDialog.hide)
+               self.hideUnhandledKeySymbolTimer = eTimer()
+               self.hideUnhandledKeySymbolTimer.callback.append(self.unhandledKeyDialog.hide)
                self.checkUnusedTimer = eTimer()
                self.checkUnusedTimer.callback.append(self.checkUnused)
                self.onLayoutFinish.append(self.unhandledKeyDialog.hide)
@@ -79,7 +79,7 @@ class InfoBarUnhandledKey:
        def checkUnused(self):
                if self.flags == self.uflags:
                        self.unhandledKeyDialog.show()
-                       self.hideTimer.start(2000, True)
+                       self.hideUnhandledKeySymbolTimer.start(2000, True)
 
 class InfoBarShowHide:
        """ InfoBar show/hide control, accepts toggleShow and hide actions, might start