Skip to content
Browse files

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

This reverts an hunk from f78404.
  • Loading branch information...
1 parent f784048 commit df862fcb96ec19335ce3610078b18946ec410b4b @alessandrod alessandrod committed Sep 9, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 pitivi/ui/timelinecanvas.py
View
2 pitivi/ui/timelinecanvas.py
@@ -226,6 +226,8 @@ def _selectionStart(self, item, target, event):
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

0 comments on commit df862fc

Please sign in to comment.
Something went wrong with that request. Please try again.