Author: andar
Revision: 5820
Log:
Fix quitting in Windows
Diff:
Modified: branches/1.2_RC/deluge/ui/gtkui/gtkui.py
===================================================================
--- branches/1.2_RC/deluge/ui/gtkui/gtkui.py 2009-10-08 02:42:00 UTC (rev
5819)
+++ branches/1.2_RC/deluge/ui/gtkui/gtkui.py 2009-10-08 02:42:22 UTC (rev
5820)
@@ -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
-~----------~----~----~----~------~----~------~--~---