projects
/
wifihood
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enabled direct access to map widget
[wifihood]
/
wifiscanner
/
wifiscanner.py
diff --git
a/wifiscanner/wifiscanner.py
b/wifiscanner/wifiscanner.py
index
24e9ee5
..
5568311
100755
(executable)
--- a/
wifiscanner/wifiscanner.py
+++ b/
wifiscanner/wifiscanner.py
@@
-148,13
+148,14
@@
if hildon :
else :
else :
- class MapWindow ( wifiview.AbstractMapWindow , gtk.Frame ) :
+ class MapWindow ( gtk.Frame ) :
def __init__(self):
gtk.Frame.__init__( self )
def __init__(self):
gtk.Frame.__init__( self )
- self.set_flags( self.flags() | gtk.CAN_FOCUS )
- wifiview.AbstractMapWindow.__init__(self)
- self.add( self.vbox )
+
+ self.config = wifimap.config.Configuration()
+ self.config.zoom = 16
+ self.add( wifiview.mapWidget( self.config , (640,400) ) )
class Wifiscanner ( AbstractWifiscanner , gtk.Window ) :
class Wifiscanner ( AbstractWifiscanner , gtk.Window ) :