mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-26 03:09:13 +00:00
Close the connection manager on shutdown - patch from Jan Steffens
This commit is contained in:
parent
5766e04987
commit
23544bd6b2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user