jdahlin - in flumotion/trunk: . flumotion/admin/gtk

flumotion-commit at lists.fluendo.com flumotion-commit at lists.fluendo.com
Mon Dec 10 17:35:35 CET 2007


Author: jdahlin
Date: Mon Dec 10 17:35:16 2007
New Revision: 6002

Modified:
   flumotion/trunk/ChangeLog
   flumotion/trunk/flumotion/admin/gtk/client.py
Log:
2007-12-10  Johan Dahlin  <johan at gnome.org>

	* flumotion/admin/gtk/client.py (AdminClientWindow._close): Call
	reactor.iterate after shutting down the reactor to make sure that
	the progress dialog is not flashing when shutting down the admin
	client in a normal way.



Modified: flumotion/trunk/ChangeLog
==============================================================================
--- flumotion/trunk/ChangeLog	(original)
+++ flumotion/trunk/ChangeLog	Mon Dec 10 17:35:16 2007
@@ -1,3 +1,10 @@
+2007-12-10  Johan Dahlin  <johan at gnome.org>
+
+	* flumotion/admin/gtk/client.py (AdminClientWindow._close): Call
+	reactor.iterate after shutting down the reactor to make sure that
+	the progress dialog is not flashing when shutting down the admin
+	client in a normal way.
+
 2007-12-07  Johan Dahlin  <johan at gnome.org>
 
 	* flumotion/component/encoders/theora/theora.py 

Modified: flumotion/trunk/flumotion/admin/gtk/client.py
==============================================================================
--- flumotion/trunk/flumotion/admin/gtk/client.py	(original)
+++ flumotion/trunk/flumotion/admin/gtk/client.py	Mon Dec 10 17:35:16 2007
@@ -373,6 +373,10 @@
 
     def _close(self, *args):
         reactor.stop()
+        # This is probably a bug in the gtk2reactor, the documentation
+        # states that it should not be called after shutting down the reactor,
+        # however it is necessary to avoid stray events to be fired later on.
+        reactor.iterate()
 
     def _dump_config(self, configation):
         import pprint


More information about the flumotion-commit mailing list