[pitivi] trackobject.py: seek playhead on unmodified click
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pitivi] trackobject.py: seek playhead on unmodified click
- Date: Thu, 26 Nov 2009 13:12:34 +0000 (UTC)
commit fd61af8f26a73e59486ec19f77a48c2c8fe02edd
Author: Brandon Lewis <brandon_lewis alum berkeley edu>
Date: Mon Nov 23 22:24:41 2009 -0800
trackobject.py: seek playhead on unmodified click
pitivi/ui/trackobject.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/trackobject.py b/pitivi/ui/trackobject.py
index 50372c4..81504a1 100644
--- a/pitivi/ui/trackobject.py
+++ b/pitivi/ui/trackobject.py
@@ -223,6 +223,9 @@ class TrackObject(View, goocanvas.Group, Zoomable):
mode = SELECT_ADD
elif self._last_event.get_state() & gtk.gdk.CONTROL_MASK:
mode = UNSELECT
+ else:
+ self._view.app.current.pipeline.seek(
+ Zoomable.pixelToNs(pos[0]))
self._view.timeline.setSelectionToObj(
self._view.element, mode)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]