projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
61cd900
)
start timer after message box is actually visible
author
Felix Domke
<tmbinc@elitedvb.net>
Tue, 12 Dec 2006 14:18:38 +0000
(14:18 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Tue, 12 Dec 2006 14:18:38 +0000
(14:18 +0000)
lib/python/Screens/MessageBox.py
patch
|
blob
|
history
diff --git
a/lib/python/Screens/MessageBox.py
b/lib/python/Screens/MessageBox.py
index
f951eeb
..
33d51b2
100644
(file)
--- a/
lib/python/Screens/MessageBox.py
+++ b/
lib/python/Screens/MessageBox.py
@@
-28,7
+28,7
@@
class MessageBox(Screen):
if timeout > 0:
self.timer = eTimer()
self.timer.timeout.get().append(self.timerTick)
if timeout > 0:
self.timer = eTimer()
self.timer.timeout.get().append(self.timerTick)
- self.
timer.start(1000
)
+ self.
onExecBegin.append(self.startTimer
)
self.origTitle = None
self.onShown.append(self.timerTick)
self.timerRunning = True
self.origTitle = None
self.onShown.append(self.timerTick)
self.timerRunning = True
@@
-62,8
+62,10
@@
class MessageBox(Screen):
"leftRepeated": self.left,
"rightRepeated": self.right
}, -1)
"leftRepeated": self.left,
"rightRepeated": self.right
}, -1)
-
-
+
+ def startTimer(self):
+ self.timer.start(1000)
+
def timerTick(self):
self.timeout -= 1
if self.origTitle is None:
def timerTick(self):
self.timeout -= 1
if self.origTitle is None: