[pitivi] Fix a couple of copy and paste screwups in timeline/track.py.



commit 1c279e38458f12d1c5f0a32ae1e5ed78a020d218
Author: Alessandro Decina <alessandro d gmail com>
Date:   Mon Jun 29 19:10:12 2009 +0200

    Fix a couple of copy and paste screwups in timeline/track.py.

 pitivi/timeline/track.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/timeline/track.py b/pitivi/timeline/track.py
index 3cedc1a..9e1ccbf 100644
--- a/pitivi/timeline/track.py
+++ b/pitivi/timeline/track.py
@@ -71,7 +71,7 @@ class Keyframe(Signallable):
         if self.parent:
             self.parent.setKeyframeTime(self, time)
         else:
-            self.setObjectMode(mode)
+            self.setObjectTime(time)
 
     def setObjectTime(self, time):
         self._time = time
@@ -88,7 +88,7 @@ class Keyframe(Signallable):
         if self.parent:
             self.parent.setKeyframeValue(self, value)
         else:
-            self.setObjectMode(mode)
+            self.setObjectValue(value)
 
     def setObjectValue(self, value):
         self._value = value



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