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)
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