[pitivi] controller.py: don't call enter during drag either
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pitivi] controller.py: don't call enter during drag either
- Date: Wed, 19 Aug 2009 09:29:52 +0000 (UTC)
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]