pitivi r1168 - in branches/SOC_2008_BLEWIS: . pitivi/ui



Author: edwardrv
Date: Tue Jul 15 07:49:22 2008
New Revision: 1168
URL: http://svn.gnome.org/viewvc/pitivi?rev=1168&view=rev

Log:
* pitivi/ui/ruler.py:
Fix small bug which would cause the seeking timeout to always be called
if a seek failed.


Modified:
   branches/SOC_2008_BLEWIS/ChangeLog
   branches/SOC_2008_BLEWIS/pitivi/ui/ruler.py

Modified: branches/SOC_2008_BLEWIS/pitivi/ui/ruler.py
==============================================================================
--- branches/SOC_2008_BLEWIS/pitivi/ui/ruler.py	(original)
+++ branches/SOC_2008_BLEWIS/pitivi/ui/ruler.py	Tue Jul 15 07:49:22 2008
@@ -130,9 +130,9 @@
 
     def _seekTimeoutCb(self):
         gst.debug("timeout")
-        self.currentlySeeking = False
         if not self.position == self.requested_time:
             self._doSeek(self.requested_time)
+            self.currentlySeeking = False
 
     def _doSeek(self, value, format=gst.FORMAT_TIME):
         gst.debug("seeking to %s" % gst.TIME_ARGS (value))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]