Author: andar

Revision: 5484

Log:
        Fix exception when quitting in classic mode

Diff:
Modified: trunk/deluge/ui/gtkui/gtkui.py
===================================================================
--- trunk/deluge/ui/gtkui/gtkui.py      2009-07-13 19:45:30 UTC (rev 5483)
+++ trunk/deluge/ui/gtkui/gtkui.py      2009-07-13 20:23:17 UTC (rev 5484)
@@ -210,7 +210,7 @@
 
         # Process any pending gtk events since the mainloop has been quit
         while gtk.events_pending():
-            gtk.main_iteration(False)
+            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