Rimossa la parte di disegno vettoriale con cairo che non
Leonardo Robol [2009-11-09 11:20]
Rimossa la parte di disegno vettoriale con cairo che non
veniva più usata
diff --git a/RaiTV/VideoWidget.py b/RaiTV/VideoWidget.py
index 6299206..fcfe91f 100644
--- a/RaiTV/VideoWidget.py
+++ b/RaiTV/VideoWidget.py
@@ -151,21 +151,7 @@ class VideoWidget(gtk.DrawingArea):
return
- cr.set_source_rgb(0.5,0,0)
- st = "RaiTV :)"
- cr.set_font_size(height/20)
- cr.select_font_face("Comic Sans MS")
- xbearing , ybearing, twidth, theight, xadvance, yadvance = cr.text_extents(st)
-
- cr.move_to(width/2 - twidth/2, 1.6*height/3 - theight/5)
- cr.show_text(st)
-
- cr.set_line_width(3)
- cr.move_to(width/2 - twidth/2 - 5 , 1.6* height/3)
- cr.rel_line_to(twidth + 10,0)
- cr.stroke()
-
-
+
def load_video(self, uri):
"""Start video playing with the specified URI"""
## Stoppiamo ogni video