Module: deluge
Branch: master
Commit: e025b6b9db4f1bddfb92b269ed82e64923dec0b6

Author: Andrew Resch <[email protected]>
Date:   Thu Jul  8 16:23:12 2010 -0700

Fix hang when quitting in classic mode

---

 deluge/ui/gtkui/mainwindow.py |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/deluge/ui/gtkui/mainwindow.py b/deluge/ui/gtkui/mainwindow.py
index 47887c1..1153b1e 100644
--- a/deluge/ui/gtkui/mainwindow.py
+++ b/deluge/ui/gtkui/mainwindow.py
@@ -153,10 +153,7 @@ class MainWindow(component.Component):
         return self.main_glade
 
     def quit(self):
-        if client.is_classicmode():
-            gtk.main_quit()
-        else:
-            reactor.stop()
+        reactor.stop()
 
     def load_window_state(self):
         x = self.config["window_x_pos"]

-- 
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