BUGFIX : initialization parameter given in wrong position
[wifihood] / wifiscanner / wifiscanner
index 7fe9bc7..70df6b9 100755 (executable)
@@ -144,8 +144,8 @@ if hildon :
 
     class MapWindow ( gtk.Frame ) :
 
-        def __init__(self):
-            gtk.Frame.__init__( self , config )
+        def __init__( self , config ):
+            gtk.Frame.__init__( self )
 
             self.config = config
             self.add( wifimap.simpleMapWidget( self.config ) )
@@ -202,8 +202,8 @@ else :
 
     class MapWindow ( gtk.Frame ) :
 
-        def __init__(self):
-            gtk.Frame.__init__( self , config )
+        def __init__( self , config ):
+            gtk.Frame.__init__( self )
 
             self.config = config
             self.add( wifimap.simpleMapWidget( self.config , (640,400) ) )