mailr14586 - /1.3/gui/errors.py


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

Header


Content

Posted by edward on September 05, 2011 - 17:39:
Author: bugman
Date: Mon Sep  5 17:39:51 2011
New Revision: 14586

URL: http://svn.gna.org/viewcvs/relax?rev=14586&view=rev
Log:
The gui_error window caption is now simply 'RelaxError' rather than the 
specific relax error name.

This now matches the prompt/script print outs which only have RelaxError, 
unless debugging is turned on.


Modified:
    1.3/gui/errors.py

Modified: 1.3/gui/errors.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/errors.py?rev=14586&r1=14585&r2=14586&view=diff
==============================================================================
--- 1.3/gui/errors.py (original)
+++ 1.3/gui/errors.py Mon Sep  5 17:39:51 2011
@@ -43,7 +43,7 @@
 
     # Show a dialog explaining the error.
     if status.show_gui:
-        wx.MessageBox(relax_error.text, 
caption=relax_error.__class__.__name__, style=wx.OK|wx.ICON_ERROR)
+        wx.MessageBox(relax_error.text, caption="RelaxError", 
style=wx.OK|wx.ICON_ERROR)
 
     # Turn off the busy cursor if needed.
     if wx.IsBusy():




Related Messages


Powered by MHonArc, Updated Mon Sep 05 18:20:02 2011