Make closing work more cleanly

This commit is contained in:
Anna Rose 2012-04-21 18:27:27 -04:00
parent 40d9c6c08f
commit da935d8e46

View File

@ -34,6 +34,8 @@ class Pygo():
def init_widgets(self):
self.window.connect('delete-event', self.on_quit)
self.window.resize(800,600)
# gobject.timeout_add(1000, self.update)
@ -99,8 +101,8 @@ class Pygo():
print 'stub: Pygo.on_net_direct()'
def on_quit(self, widget):
sys.exit(0)
def on_quit(self, widget, event=None):
gtk.main_quit()
def do_prev_page(self):