[pitivi] controller.py: don't call enter during drag either



commit dc4d659b1788b7b733d3d7d1805fe51e8256894b
Author: Brandon Lewis <brandon_lewis berkeley edu>
Date:   Tue Aug 18 11:16:45 2009 -0700

    controller.py: don't call enter during drag either

 pitivi/ui/controller.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/ui/controller.py b/pitivi/ui/controller.py
index 2834a19..6827806 100644
--- a/pitivi/ui/controller.py
+++ b/pitivi/ui/controller.py
@@ -86,7 +86,8 @@ class Controller(object):
         self._canvas.grab_focus(item)
         if self._cursor:
             event.window.set_cursor(self._cursor)
-        self.enter(item, target)
+        if not self._dragging:
+            self.enter(item, target)
         self._ptr_within = True
         return True
 



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