From 79f597e1d3925f0de1eae516d3f796b5ff945515 Mon Sep 17 00:00:00 2001 From: Leonardo Robol Date: Mon, 9 Nov 2009 12:20:53 +0100 Subject: [PATCH] =?UTF-8?q?Rimossa=20la=20parte=20di=20disegno=20vettorial?= =?UTF-8?q?e=20con=20cairo=20che=20non=20veniva=20pi=C3=B9=20usata?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- RaiTV/VideoWidget.py | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) 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 -- 2.1.4