Progress bar shows current playback time and total playback time

git-svn-id: file:///home/anna/Desktop/ocarina-legacy/mithos/ocarina@16 1daee41c-8060-4895-b1f0-2197c00d777a
This commit is contained in:
bjschuma 2009-06-04 14:51:54 +00:00
parent acd8308311
commit 0292895823
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class Operations:
def markProgress(self,widget,data):
time = self.song.curTime()
widget.set_fraction(float(self.song.current)/float(self.song.total))
widget.set_text(time.toStr())
widget.set_text(time.toStr()+" / "+self.song.info.length.toStr())
#print float(self.song.current)/float(self.song.total)
return True