From 742224af80c592f55755b56db1088e02c755d9d4 Mon Sep 17 00:00:00 2001 From: javiplx Date: Wed, 13 Oct 2010 11:58:04 +0000 Subject: [PATCH] Create specific draw method git-svn-id: file:///svnroot/wifihood/trunk@60 c51dfc6a-5949-4919-9c8e-f207a149c383 --- wifiscanner/wifiview.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wifiscanner/wifiview.py b/wifiscanner/wifiview.py index dabe111..6addd36 100755 --- a/wifiscanner/wifiview.py +++ b/wifiscanner/wifiview.py @@ -6,7 +6,6 @@ try : except : hildon = False -import urllib2 import math import os @@ -81,6 +80,10 @@ class mapWidget ( wifimap.view.AbstractmapWidget , gtk.Image ) : pixbuf.copy_area( init_x, init_y, size_x, size_y, self.get_pixbuf(), dest_x , dest_y ) del(pixbuf) + self.draw_paths + + def draw_paths( self ) : + pixmap,mask = self.get_pixbuf().render_pixmap_and_mask() red = pixmap.new_gc() red.foreground = pixmap.get_colormap().alloc_color("red") -- 1.7.9.5