X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=wifiscanner%2Fwifimap%2Fview.py;h=175eae87b4039c553d537e482d4019408e614105;hb=c66c04cc46e96447b65bf0d87eeeec421159936e;hp=a7f688c51e6a2d6db1c9f677628278657249c379;hpb=8f0f19923128195b051fa8194c7287f018615a6a;p=wifihood diff --git a/wifiscanner/wifimap/view.py b/wifiscanner/wifimap/view.py index a7f688c..175eae8 100755 --- a/wifiscanner/wifimap/view.py +++ b/wifiscanner/wifimap/view.py @@ -221,7 +221,7 @@ class simpleMapWidget ( AbstractmapWidget , gtk.Image ) : return center_x , center_y - def plot( self , pixmap , coords , colorname , radius=3 ) : + def plot( self , pixmap , coords , colorname , radius=1 ) : center_x , center_y = self.center() @@ -229,7 +229,7 @@ class simpleMapWidget ( AbstractmapWidget , gtk.Image ) : gc.foreground = pixmap.get_colormap().alloc_color( colorname ) dest_x , dest_y = self.gps2pix( coords , ( center_x , center_y ) ) - pixmap.draw_rectangle(gc, True , dest_x , dest_y , radius , radius ) + pixmap.draw_rectangle(gc, True , dest_x-radius , dest_y-radius , 2*radius+1 , 2*radius+1 ) def line( self , pixmap , start , coords , colorname ) :