mailr10667 - /branches/bieri_gui/gui_bieri/relax_gui.py


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

Header


Content

Posted by edward on February 05, 2010 - 17:08:
Author: bugman
Date: Fri Feb  5 17:08:10 2010
New Revision: 10667

URL: http://svn.gna.org/viewcvs/relax?rev=10667&view=rev
Log:
All dialogs (the relax controller and about dialogs) are now being destroyed 
by exit_gui().

This allows the program to exit!


Modified:
    branches/bieri_gui/gui_bieri/relax_gui.py

Modified: branches/bieri_gui/gui_bieri/relax_gui.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/relax_gui.py?rev=10667&r1=10666&r2=10667&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/relax_gui.py (original)
+++ branches/bieri_gui/gui_bieri/relax_gui.py Fri Feb  5 17:08:10 2010
@@ -861,6 +861,11 @@
             print "d'Auvergne, E.J. and Gooley, P.R. (2008). Optimisation of 
NMR dynamic models II. A new methodology for the dual optimisation of the 
model-free parameters and the Brownian rotational diffusion tensor. J. 
Biomol. NMR, 40(2), 121-133."
             print "\nExiting relaxGUI......\n"
 
+            # Destroy all dialogs.
+            self.controller.Destroy()
+            self.dialog_about_gui.Destroy()
+            self.dialog_about_relax.Destroy()
+
             # Destroy the main window.
             self.Destroy()
 




Related Messages


Powered by MHonArc, Updated Fri Feb 05 18:00:01 2010