Create specific draw method
[wifihood] / 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")