git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix stopEvent for EventInfoProgress
[enigma2.git]
/
lib
/
python
/
Components
/
EventInfo.py
diff --git
a/lib/python/Components/EventInfo.py
b/lib/python/Components/EventInfo.py
index ce13ba856ea7fc7411772a1bf28315b999f24f15..6202fb8b28cffef3172bd63ab4019102855d5e31 100644
(file)
--- a/
lib/python/Components/EventInfo.py
+++ b/
lib/python/Components/EventInfo.py
@@
-60,7
+60,8
@@
class EventInfoProgress(PerServiceDisplayProgress, EventInfo):
def update(self, ev):
self.g.setRange(0, ev.getDuration())
progress = int(time() - ev.getBeginTime())
def update(self, ev):
self.g.setRange(0, ev.getDuration())
progress = int(time() - ev.getBeginTime())
-
+
self.setValue(progress)
self.setValue(progress)
-
\ No newline at end of file
+ def stopEvent(self):
+ self.setValue(0)
\ No newline at end of file