BUGFIX : initialization parameter given in wrong position
authorjaviplx <javiplx@gmail.com>
Sat, 14 May 2011 19:40:21 +0000 (19:40 +0000)
committerjaviplx <javiplx@gmail.com>
Sat, 14 May 2011 19:40:21 +0000 (19:40 +0000)
git-svn-id: file:///svnroot/wifihood/trunk@175 c51dfc6a-5949-4919-9c8e-f207a149c383

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) ) )