[pitivi: 7/12] timelinecanvas.py: remove cruft related to razor tool
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pitivi: 7/12] timelinecanvas.py: remove cruft related to razor tool
- Date: Tue, 1 Dec 2009 22:01:53 +0000 (UTC)
commit d35b4cfb5ef05f1121aaf6d3aa70be346233a270
Author: Brandon Lewis <brandon_lewis alum berkeley edu>
Date: Mon Nov 30 14:47:39 2009 -0800
timelinecanvas.py: remove cruft related to razor tool
pitivi/ui/timelinecanvas.py | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/pitivi/ui/timelinecanvas.py b/pitivi/ui/timelinecanvas.py
index 7fb1069..e92c476 100644
--- a/pitivi/ui/timelinecanvas.py
+++ b/pitivi/ui/timelinecanvas.py
@@ -268,16 +268,6 @@ class TimelineCanvas(goocanvas.Canvas, Zoomable, Loggable):
def timelinePositionChanged(self, position):
self._playhead.props.x = self.nsToPixel(position)
- def _razorMovedCb(self, canvas, event):
- def snap(x):
- pos = self.nsToPixel(self._position)
- if abs(x - pos) <= self.settings.edgeSnapDeadband:
- return pos
- return x
- x, y = self.convert_from_pixels(event.x, event.y)
- self._razor.props.x = snap(self.nsToPixel(self.pixelToNs(x)))
- return True
-
max_duration = 0
def setMaxDuration(self, duration):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]