mailr15740 - /1.3/gui/analyses/__init__.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on April 16, 2012 - 19:38:
Author: bugman
Date: Mon Apr 16 19:38:39 2012
New Revision: 15740

URL: http://svn.gna.org/viewcvs/relax?rev=15740&view=rev
Log:
Converted the pipe switching with GUI tab switching to synchronous to avoid 
rare races.

This racing is triggered by wxPython 2.9.  This change should not affect 
wxPython 2.8 installs.


Modified:
    1.3/gui/analyses/__init__.py

Modified: 1.3/gui/analyses/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/analyses/__init__.py?rev=15740&r1=15739&r2=15740&view=diff
==============================================================================
--- 1.3/gui/analyses/__init__.py (original)
+++ 1.3/gui/analyses/__init__.py Mon Apr 16 19:38:39 2012
@@ -480,7 +480,7 @@
 
         # Switch to the major data pipe of that page if not the current one.
         if self._switch_flag and pipes.cdp_name() != 
ds.relax_gui.analyses[self._current].pipe_name:
-            self.gui.interpreter.queue('pipe.switch', 
ds.relax_gui.analyses[self._current].pipe_name)
+            self.gui.interpreter.apply('pipe.switch', 
ds.relax_gui.analyses[self._current].pipe_name)
 
         # Normal operation.
         event.Skip()




Related Messages


Powered by MHonArc, Updated Mon Apr 16 20:00:02 2012