aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/MessageBox.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-12-30 15:07:29 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-12-30 15:07:29 +0000
commit7c8c2b339b747763eede225a0ca554a405e5ac7b (patch)
tree650d0706842e04353db797b8630deb15b38f9ee4 /lib/python/Screens/MessageBox.py
parent5cb2d3d4e46a40693cee0173425f8bc2ade2f09b (diff)
downloadenigma2-7c8c2b339b747763eede225a0ca554a405e5ac7b.tar.gz
enigma2-7c8c2b339b747763eede225a0ca554a405e5ac7b.zip
send evStart before tuneFailed Events..
fix evNoResources fix some bluescreens caused by notification handling
Diffstat (limited to 'lib/python/Screens/MessageBox.py')
-rw-r--r--lib/python/Screens/MessageBox.py19
1 files changed, 10 insertions, 9 deletions
diff --git a/lib/python/Screens/MessageBox.py b/lib/python/Screens/MessageBox.py
index 33d51b24..b16b8730 100644
--- a/lib/python/Screens/MessageBox.py
+++ b/lib/python/Screens/MessageBox.py
@@ -67,15 +67,16 @@ class MessageBox(Screen):
self.timer.start(1000)
def timerTick(self):
- self.timeout -= 1
- if self.origTitle is None:
- self.origTitle = self.instance.getTitle()
- self.setTitle(self.origTitle + " (" + str(self.timeout) + ")")
- if self.timeout == 0:
- self.timer.stop()
- self.timerRunning = False
- self.timeoutCallback()
-
+ if self.execing:
+ self.timeout -= 1
+ if self.origTitle is None:
+ self.origTitle = self.instance.getTitle()
+ self.setTitle(self.origTitle + " (" + str(self.timeout) + ")")
+ if self.timeout == 0:
+ self.timer.stop()
+ self.timerRunning = False
+ self.timeoutCallback()
+
def timeoutCallback(self):
print "Timeout!"
self.ok()