[pitivi] ui/timelinecanvas: reinitialize the marquee to have width=height=0.



commit df862fcb96ec19335ce3610078b18946ec410b4b
Author: Alessandro Decina <alessandro d gmail com>
Date:   Thu Sep 9 16:55:10 2010 +0200

    ui/timelinecanvas: reinitialize the marquee to have width=height=0.
    
    This reverts an hunk from f78404.

 pitivi/ui/timelinecanvas.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/timelinecanvas.py b/pitivi/ui/timelinecanvas.py
index 0e805a4..31f3595 100644
--- a/pitivi/ui/timelinecanvas.py
+++ b/pitivi/ui/timelinecanvas.py
@@ -226,6 +226,8 @@ class TimelineCanvas(goocanvas.Canvas, Zoomable, Loggable):
         self._selecting = True
         self._marquee.props.visibility = goocanvas.ITEM_VISIBLE
         self._mousedown = self.from_event(event)
+        self._marquee.props.width = 0
+        self._marquee.props.height = 0
         self.pointer_grab(self.get_root_item(), gtk.gdk.POINTER_MOTION_MASK |
             gtk.gdk.BUTTON_RELEASE_MASK, self._cursor, event.time)
         return True



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