Author: andar

Revision: 5821

Log:
        Likewise in trunk

Diff:
Modified: trunk/deluge/ui/gtkui/gtkui.py
===================================================================
--- trunk/deluge/ui/gtkui/gtkui.py      2009-10-08 02:42:22 UTC (rev 5820)
+++ trunk/deluge/ui/gtkui/gtkui.py      2009-10-08 02:43:54 UTC (rev 5821)
@@ -232,8 +232,9 @@
         component.stop()
 
         # Process any pending gtk events since the mainloop has been quit
-        while gtk.events_pending():
-            reactor.doIteration(0)
+        if not deluge.common.windows_check():
+            while gtk.events_pending():
+                reactor.doIteration(0)
 
         # Shutdown all components
         component.shutdown()



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