[pitivi: 4/11] don't draw gutters between tracks; now they smear
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 4/11] don't draw gutters between tracks; now they smear
- Date: Tue, 12 Oct 2010 08:13:06 +0000 (UTC)
commit 912ef026a35ff8b78e653393af10bbc865db53e8
Author: Brandon Lewis <brandon_lewis alum berkeley edu>
Date: Fri Oct 1 14:58:30 2010 +0100
don't draw gutters between tracks; now they smear
pitivi/ui/timelinecanvas.py | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/pitivi/ui/timelinecanvas.py b/pitivi/ui/timelinecanvas.py
index 30d67b8..9a0b2c2 100644
--- a/pitivi/ui/timelinecanvas.py
+++ b/pitivi/ui/timelinecanvas.py
@@ -179,18 +179,18 @@ class TimelineCanvas(goocanvas.Canvas, Zoomable, Loggable):
event.area.x, event.area.y,
event.area.width, event.area.height)
- y = 0
- for track in self._tracks[:-1]:
- y += track.height
- self.style.paint_box(event.window,
- gtk.STATE_NORMAL,
- gtk.SHADOW_OUT,
- event.area,
- self,
- "",
- event.area.x - 5, y + 1,
- event.area.width + 10, TRACK_SPACING - 2)
- y += TRACK_SPACING
+ # y = 0
+ # for track in self._tracks[:-1]:
+ # y += track.height
+ # self.style.paint_box(event.window,
+ # gtk.STATE_NORMAL,
+ # gtk.SHADOW_OUT,
+ # event.area,
+ # self,
+ # "",
+ # event.area.x - 5, y + 1,
+ # event.area.width + 10, TRACK_SPACING - 2)
+ # y += TRACK_SPACING
goocanvas.Canvas.do_expose_event(self, event)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]