Achieve full decoupling of Scanner object and graphical environment
[wifihood] / wifiscanner.py
index de72421..eb51435 100755 (executable)
@@ -57,7 +57,7 @@ class AbstractWifiscanner :
 
     def __init__ ( self ) :
 
-        self.gpsdev = wifimap.Scanner( self )
+        self.gpsdev = wifimap.Scanner()
 
         self.connect("delete_event", gtk.main_quit, None)
 
@@ -107,7 +107,6 @@ class AbstractWifiscanner :
 
         # Bottom frame population
         status = gtk.Label( "status bar ..." )
-        self.gpsdev.set_infowin( textview.get_buffer() )
         bottom_box.pack_start( status , expand=False , padding=20 )
 
     def run ( self ) :