[pitivi] TimelineCanvas : Fixed getItemsInArea.
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] TimelineCanvas : Fixed getItemsInArea.
- Date: Sun, 2 Sep 2012 04:03:10 +0000 (UTC)
commit 1ce021a41a875dbc7c18b660b6fe087bb9d4070a
Author: Mathieu Duponchelle <mathieu duponchelle epitech eu>
Date: Mon Aug 20 17:19:20 2012 +0200
TimelineCanvas : Fixed getItemsInArea.
pitivi/timeline/timeline.py | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 191e976..d34160d 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -292,8 +292,12 @@ class TimelineCanvas(goocanvas.Canvas, Zoomable, Loggable):
@returns: A list of L{Track}, L{TrackObject} tuples
'''
- items = self.get_items_in_area(goocanvas.Bounds(x1, y1, x2, y2), True,
- True, True)
+ bounds = goocanvas.CanvasBounds()
+ bounds.x1 = x1
+ bounds.x2 = x2
+ bounds.y1 = y1
+ bounds.y2 = y2
+ items = self.get_items_in_area(bounds, True, True, True)
if not items:
return [], []
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]