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:
bjschuma 2009-06-04 14:49:38 +00:00
parent 42b4b48d84
commit acd8308311
1 changed files with 2 additions and 1 deletions

View File

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