[pitivi] trackobject.py: raise objects on enter instead of drag start



commit 8a17520a5d66055e36a99597d9870ba933383633
Author: Brandon Lewis <brandon_lewis berkeley edu>
Date:   Mon Sep 21 11:27:46 2009 -0700

    trackobject.py: raise objects on enter instead of drag start

 pitivi/ui/trackobject.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/ui/trackobject.py b/pitivi/ui/trackobject.py
index c0d1b44..fd4e53c 100644
--- a/pitivi/ui/trackobject.py
+++ b/pitivi/ui/trackobject.py
@@ -100,6 +100,7 @@ class TimelineController(controller.Controller):
     _handle_enter_leave = False
 
     def enter(self, unused, unused2):
+        self._view.raise_(None)
         self._view.focus()
 
     def leave(self, unused, unused2):
@@ -206,7 +207,6 @@ class TrackObject(View, goocanvas.Group, Zoomable):
 
         def drag_start(self, item, target, event):
             TimelineController.drag_start(self, item, target, event)
-            self._view.raise_(None)
             self._context = MoveContext(self._view.timeline,
                 self._view.element,
                 self._view.timeline.selection.getSelectedTrackObjs())



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