From: javiplx Date: Thu, 2 Dec 2010 23:07:17 +0000 (+0000) Subject: Move Gtk methods out of AbstractWifiscanner X-Git-Tag: cleaned~14 X-Git-Url: http://vcs.maemo.org/git/?p=wifihood;a=commitdiff_plain;h=551ca4b082c7310625bf4e9d617d37d3ad089a7e Move Gtk methods out of AbstractWifiscanner git-svn-id: file:///svnroot/wifihood/trunk@70 c51dfc6a-5949-4919-9c8e-f207a149c383 --- diff --git a/wifiscanner/wifiscanner.py b/wifiscanner/wifiscanner.py index 06c9616..15ef6a0 100755 --- a/wifiscanner/wifiscanner.py +++ b/wifiscanner/wifiscanner.py @@ -61,8 +61,7 @@ class AbstractWifiscanner : self.connect("delete_event", gtk.main_quit, None) - vbox = gtk.VBox(homogeneous=False, spacing=0) - self.add(vbox) + self.vbox = vbox = gtk.VBox(homogeneous=False, spacing=0) # Top frame creation top_frame = gtk.Frame() @@ -122,6 +121,7 @@ if hildon : program.add_window(self) AbstractWifiscanner.__init__( self ) + self.add(self.vbox) def TextView ( self , placeholder=None ) : textview = hildon.TextView() @@ -151,6 +151,7 @@ else : self.resize(640,400) AbstractWifiscanner.__init__( self ) + self.add(self.vbox) def TextView ( self , placeholder=None ) : textview = gtk.TextView()