Author: bugman Date: Mon Jul 18 14:26:13 2011 New Revision: 13688 URL: http://svn.gna.org/viewcvs/relax?rev=13688&view=rev Log: Added the show_gui flag to the status object. This will be used to suppress calls to Show() and ShowModal() so that GUI testing can be more complete. Modified: branches/gui_testing/relax branches/gui_testing/status.py Modified: branches/gui_testing/relax URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/relax?rev=13688&r1=13687&r2=13688&view=diff ============================================================================== --- branches/gui_testing/relax (original) +++ branches/gui_testing/relax Mon Jul 18 14:26:13 2011 @@ -122,6 +122,9 @@ if not dep_check.wx_module: sys.stderr.write("Please install the wx Python module to access the relax GUI.\n\n") sys.exit() + + # Set the GUI flag in the status object. + status.show_gui = True # Start the relax GUI wx application. app = gui.App(script=self.script_file) Modified: branches/gui_testing/status.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/status.py?rev=13688&r1=13687&r2=13688&view=diff ============================================================================== --- branches/gui_testing/status.py (original) +++ branches/gui_testing/status.py Mon Jul 18 14:26:13 2011 @@ -65,6 +65,9 @@ # Testing mode flag. self.test_mode = False + + # The GUI flag. + self.show_gui = False # The Monte Carlo simulation status. self.mc_number = None