[pitivi] thumnailer: Work around a GI issue, calling set_property instead of ".props."



commit ac57c004e39fd530e4e1da7381d9d8c1f68bdfba
Author: Thibault Saunier <thibault saunier collabora com>
Date:   Wed Dec 19 17:49:25 2012 -0300

    thumnailer: Work around a GI issue, calling set_property instead of ".props."

 pitivi/timeline/thumbnailer.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/timeline/thumbnailer.py b/pitivi/timeline/thumbnailer.py
index e2861ca..22764dd 100644
--- a/pitivi/timeline/thumbnailer.py
+++ b/pitivi/timeline/thumbnailer.py
@@ -804,7 +804,7 @@ class Preview(GooCanvas.CanvasItemSimple, GooCanvas.CanvasItem, Zoomable):
         self.app = instance
         self.height = float(height)
         self.element = element
-        self.props.pointer_events = False
+        self.set_property("pointer-events", False)
         # ghetto hack
         self.hadj = instance.gui.timeline_ui.hadj
 



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