GNOME Bugzilla – Bug 165817
gobject.MainLoop needs to have a timeout to call PyErr_CheckSignals() like the gtk main loop
Last modified: 2006-01-09 14:12:55 UTC
In bug #72333 a timeout was added to the gtk main loop to call PyErr_CheckSignals() so that signals get processed while we're in the main loop. We need the same thing for gobject.MainLoop too. Attaching a patch which just copies what jdahlin did.
Created attachment 36764 [details] [review] patch
Also see: http://www.daa.com.au/pipermail/pygtk/2004-April/007483.html
This is practically (but not entirely) a dup of bug 154779. As I say in that bug report, I think timeouts are evil. Do you really need to catch all signals, or just a few?
*** This bug has been marked as a duplicate of 154779 ***