[pitivi] timeline: connect to the whole GUI to end marquee selection.



commit ef3f62ad014fbd7c136abc7858663af582e5b12f
Author: Mathieu Duponchelle <mduponchelle1 gmail com>
Date:   Fri Jan 31 01:41:40 2014 +0100

    timeline: connect to the whole GUI to end marquee selection.
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=723035

 pitivi/timeline/timeline.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 25b14c7..323b268 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -376,6 +376,7 @@ class TimelineStage(Clutter.ScrollActor, Zoomable):
         self._container.stage.connect("button-press-event", self._dragBeginCb)
         self._container.stage.connect("motion-event", self._dragProgressCb)
         self._container.stage.connect("button-release-event", self._dragEndCb)
+        self._container.gui.connect("button-release-event", self._dragEndCb)
 
     def _peekMouse(self):
         manager = Clutter.DeviceManager.get_default()


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