mailr14020 - /branches/gui_testing/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 August 01, 2011 - 09:11:
Author: bugman
Date: Mon Aug  1 09:11:18 2011
New Revision: 14020

URL: http://svn.gna.org/viewcvs/relax?rev=14020&view=rev
Log:
Improvements to the close analysis question dialogs.


Modified:
    branches/gui_testing/gui/analyses/__init__.py

Modified: branches/gui_testing/gui/analyses/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/analyses/__init__.py?rev=14020&r1=14019&r2=14020&view=diff
==============================================================================
--- branches/gui_testing/gui/analyses/__init__.py (original)
+++ branches/gui_testing/gui/analyses/__init__.py Mon Aug  1 09:11:18 2011
@@ -254,7 +254,7 @@
 
         # Ask if this should be done.
         msg = "Are you sure you would like to close the current %s analysis 
tab?" % ds.relax_gui.analyses[index].analysis_type
-        if Question(msg, default=False).ShowModal() == wx.ID_NO:
+        if Question(msg, title="Close current analysis", size=(350, 140), 
default=False).ShowModal() == wx.ID_NO:
             return
 
         # Delete.
@@ -270,7 +270,7 @@
 
         # Ask if this should be done.
         msg = "Are you sure you would like to close all analyses?  All data 
will be erased and the relax data store reset."
-        if Question(msg, default=False).ShowModal() == wx.ID_NO:
+        if Question(msg, title="Close all analyses", size=(350, 150), 
default=False).ShowModal() == wx.ID_NO:
             return
 
         # Delete.




Related Messages


Powered by MHonArc, Updated Mon Aug 01 09:20:02 2011