From acd8308311b8b7e8eeba3213d3703777f8ab8b91 Mon Sep 17 00:00:00 2001 From: bjschuma Date: Thu, 4 Jun 2009 14:49:38 +0000 Subject: [PATCH] Keep trying to find duration until success git-svn-id: file:///home/anna/Desktop/ocarina-legacy/mithos/ocarina@15 1daee41c-8060-4895-b1f0-2197c00d777a --- trunk/operations.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/operations.py b/trunk/operations.py index d0638a3c..d6ba8e37 100644 --- a/trunk/operations.py +++ b/trunk/operations.py @@ -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