Keep trying to find duration until success
git-svn-id: file:///home/anna/Desktop/ocarina-legacy/mithos/ocarina@15 1daee41c-8060-4895-b1f0-2197c00d777a
This commit is contained in:
parent
42b4b48d84
commit
acd8308311
|
@ -39,8 +39,9 @@ class Operations:
|
|||
|
||||
# Mark progress on the progress bar
|
||||
def markProgress(self,widget,data):
|
||||
self.song.curTime()
|
||||
time = self.song.curTime()
|
||||
widget.set_fraction(float(self.song.current)/float(self.song.total))
|
||||
widget.set_text(time.toStr())
|
||||
#print float(self.song.current)/float(self.song.total)
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in New Issue