← Back to team overview

openshot.code team mailing list archive

[Branch ~openshot.code/openshot/main] Rev 656: Reset the timeline scrollbar back to the start position when seeking to the beginning of the time...

 

------------------------------------------------------------
revno: 656
committer: Andy Finch <we.rocked.in79@xxxxxxxxx>
branch nick: openshot
timestamp: Sun 2012-04-29 22:03:53 +0100
message:
  Reset the timeline scrollbar back to the start position when seeking to the beginning of the timeline.
modified:
  openshot/windows/MainGTK.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/MainGTK.py'
--- openshot/windows/MainGTK.py	2012-04-17 22:07:00 +0000
+++ openshot/windows/MainGTK.py	2012-04-29 21:03:53 +0000
@@ -2090,6 +2090,9 @@
 		else:
 			self.MyVideo.set_speed(1)
 		
+		# set the horizontal scrollbar back to zero	
+		self.hscrollbar2.set_value(0)
+		
 		# update video preview tab
 		self.lblVideoPreview.set_text(_("Video Preview"))