From: javiplx Date: Sat, 14 May 2011 19:40:21 +0000 (+0000) Subject: BUGFIX : initialization parameter given in wrong position X-Git-Tag: hildon-wrapped~3 X-Git-Url: http://vcs.maemo.org/git/?p=wifihood;a=commitdiff_plain;h=052306b6453abff3b4990123151b606eee0b672c BUGFIX : initialization parameter given in wrong position git-svn-id: file:///svnroot/wifihood/trunk@175 c51dfc6a-5949-4919-9c8e-f207a149c383 --- diff --git a/wifiscanner/wifiscanner b/wifiscanner/wifiscanner index 7fe9bc7..70df6b9 100755 --- a/wifiscanner/wifiscanner +++ b/wifiscanner/wifiscanner @@ -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) ) )