Close connection manager on shutdown - patch from Jan Steffens

This commit is contained in:
John Garland 2010-05-02 22:24:34 +10:00
parent 72fd3bd061
commit 9e4a92444b

View file

@ -99,12 +99,16 @@ class ConnectionManager(component.Component):
self.config = ConfigManager("hostlist.conf.1.2", DEFAULT_CONFIG)
self.running = False
# Component overrides
def start(self):
pass
def stop(self):
pass
# Close this dialog when we are shutting down
if self.running:
self.connection_manager.response(gtk.RESPONSE_CLOSE)
def shutdown(self):
pass