← Back to team overview

openshot.code team mailing list archive

[Branch ~openshot.code/openshot/main] Rev 674: Properly format the miiliseconds field in the File properties window.

 

------------------------------------------------------------
revno: 674
committer: Andy Finch <we.rocked.in79@xxxxxxxxx>
branch nick: openshot
timestamp: Tue 2012-05-22 21:36:14 +0100
message:
  Properly format the miiliseconds field in the File properties window.
modified:
  openshot/windows/FileProperties.py


--
lp:openshot
https://code.launchpad.net/~openshot.code/openshot/main

Your team OpenShot Code is subscribed to branch lp:openshot.
To unsubscribe from this branch go to https://code.launchpad.net/~openshot.code/openshot/main/+edit-subscription
=== modified file 'openshot/windows/FileProperties.py'
--- openshot/windows/FileProperties.py	2012-05-01 21:07:11 +0000
+++ openshot/windows/FileProperties.py	2012-05-22 20:36:14 +0000
@@ -58,7 +58,7 @@
 		secs = time[4]
 		milli = time[5]
 		
-		time_str =  "%02d:%02d:%02d:%02d" % (hours, mins, secs, milli)
+		time_str =  "%02d:%02d:%02d:%03d" % (hours, mins, secs, milli)
 		self.lblLengthValue.set_label(time_str)
 		#project label
 		self.txtLabel.set_text(file.label)