[pitivi] curve.py, trackobject.py: focusing of any part of trackobject also focuses trackobject
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pitivi] curve.py, trackobject.py: focusing of any part of trackobject also focuses trackobject
- Date: Thu, 24 Sep 2009 15:30:36 +0000 (UTC)
commit 33cba4d3e72f3845150269ca61c20649c851e56f
Author: Brandon Lewis <brandon_lewis berkeley edu>
Date: Thu Sep 3 17:22:09 2009 -0700
curve.py, trackobject.py: focusing of any part of trackobject also focuses trackobject
pitivi/ui/curve.py | 1 +
pitivi/ui/trackobject.py | 3 +++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/curve.py b/pitivi/ui/curve.py
index 81f6809..8c8643e 100644
--- a/pitivi/ui/curve.py
+++ b/pitivi/ui/curve.py
@@ -58,6 +58,7 @@ class Curve(goocanvas.ItemSimple, goocanvas.Item, View, Zoomable):
_cursor = HAND
_kf = None
+ _handle_enter_leave = False
def drag_start(self, item, target, event):
self._view.app.action_log.begin("volume change")
diff --git a/pitivi/ui/trackobject.py b/pitivi/ui/trackobject.py
index adf560a..9f99a97 100644
--- a/pitivi/ui/trackobject.py
+++ b/pitivi/ui/trackobject.py
@@ -97,6 +97,7 @@ class TimelineController(controller.Controller):
_cursor = ARROW
_context = None
+ _handle_enter_leave = False
def enter(self, unused, unused2):
self._view.focus()
@@ -200,6 +201,8 @@ class TrackObject(View, goocanvas.Group, Zoomable):
class Controller(TimelineController):
+ _handle_enter_leave = True
+
def drag_start(self, item, target, event):
TimelineController.drag_start(self, item, target, event)
self._view.raise_(None)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]