Module: deluge
Branch: 1.2-stable
Commit: c1f137505a098e57f2c41af933d09415bc5f57e5

Author: Andrew Resch <[email protected]>
Date:   Wed Jun 30 15:17:09 2010 -0700

Fix uncaught exception when closing deluge in classic mode

---

 deluge/ui/gtkui/menubar.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/deluge/ui/gtkui/menubar.py b/deluge/ui/gtkui/menubar.py
index 565b6d2..1f62db0 100644
--- a/deluge/ui/gtkui/menubar.py
+++ b/deluge/ui/gtkui/menubar.py
@@ -260,8 +260,6 @@ class MenuBar(component.Component):
 
     def on_menuitem_quit_activate(self, data=None):
         log.debug("on_menuitem_quit_activate")
-        if self.config["classic_mode"] and client.is_classicmode():
-            client.daemon.shutdown()
         self.window.quit()
 
     ## Edit Menu ##

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to