Author: bugman Date: Fri Jun 8 12:58:43 2012 New Revision: 16762 URL: http://svn.gna.org/viewcvs/relax?rev=16762&view=rev Log: The BMRB export wizard now tricks the user into thinking that export is happening and taking time. Modified: branches/uf_redesign/gui/export_bmrb.py Modified: branches/uf_redesign/gui/export_bmrb.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/export_bmrb.py?rev=16762&r1=16761&r2=16762&view=diff ============================================================================== --- branches/uf_redesign/gui/export_bmrb.py (original) +++ branches/uf_redesign/gui/export_bmrb.py Fri Jun 8 12:58:43 2012 @@ -24,6 +24,7 @@ """The BMRB export wizard.""" # Python module imports. +from time import sleep import wx # relax module imports. @@ -152,6 +153,12 @@ # Execute the user function. uf_store['bmrb.write'](wx_parent=self, wx_wizard_sync=True, wx_wizard_modal=True) + # Pretend to do something to trick the user into thinking that the export is happening and taking time! + wx.Yield() + wx.BeginBusyCursor() + sleep(2) + wx.EndBusyCursor() + # Close the window. self.Close()