Implement map tab on hildon
authorjaviplx <javiplx@gmail.com>
Tue, 7 Dec 2010 16:11:29 +0000 (16:11 +0000)
committerjaviplx <javiplx@gmail.com>
Tue, 7 Dec 2010 16:11:29 +0000 (16:11 +0000)
git-svn-id: file:///svnroot/wifihood/trunk/wifiscanner@81 c51dfc6a-5949-4919-9c8e-f207a149c383

wifiscanner.py

index 5568311..cf9854b 100755 (executable)
@@ -117,6 +117,15 @@ class AbstractWifiscanner :
 
 if hildon :
 
+    class MapWindow ( gtk.Frame ) :
+
+        def __init__(self):
+            gtk.Frame.__init__( self )
+
+            self.config = wifimap.config.Configuration()
+            self.config.zoom = 16
+            self.add( wifiview.mapWidget( self.config ) )#, (640,400) ) )
+
     class Wifiscanner ( AbstractWifiscanner , hildon.Window ) :
 
         def __init__ ( self ) :