Create specific draw method
authorjaviplx <javiplx@gmail.com>
Wed, 13 Oct 2010 11:58:04 +0000 (11:58 +0000)
committerjaviplx <javiplx@gmail.com>
Wed, 13 Oct 2010 11:58:04 +0000 (11:58 +0000)
git-svn-id: file:///svnroot/wifihood/trunk@60 c51dfc6a-5949-4919-9c8e-f207a149c383

wifiscanner/wifiview.py

index dabe111..6addd36 100755 (executable)
@@ -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")