projects
/
wifihood
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f855a2
)
Create specific draw method
author
javiplx
<javiplx@gmail.com>
Wed, 13 Oct 2010 11:58:04 +0000
(11:58 +0000)
committer
javiplx
<javiplx@gmail.com>
Wed, 13 Oct 2010 11:58:04 +0000
(11:58 +0000)
git-svn-id: file:///svnroot/wifihood/trunk@60
c51dfc6a
-5949-4919-9c8e-
f207a149c383
wifiscanner/wifiview.py
patch
|
blob
|
history
diff --git
a/wifiscanner/wifiview.py
b/wifiscanner/wifiview.py
index
dabe111
..
6addd36
100755
(executable)
--- a/
wifiscanner/wifiview.py
+++ b/
wifiscanner/wifiview.py
@@
-6,7
+6,6
@@
try :
except :
hildon = False
-import urllib2
import math
import os
@@
-81,6
+80,10
@@
class mapWidget ( wifimap.view.AbstractmapWidget , gtk.Image ) :
pixbuf.copy_area( init_x, init_y, size_x, size_y, self.get_pixbuf(), dest_x , dest_y )
del(pixbuf)
+ self.draw_paths
+
+ def draw_paths( self ) :
+
pixmap,mask = self.get_pixbuf().render_pixmap_and_mask()
red = pixmap.new_gc()
red.foreground = pixmap.get_colormap().alloc_color("red")