mailr27187 - /trunk/gui/relax_gui.py


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

Header


Content

Posted by edward on January 15, 2015 - 09:39:
Author: bugman
Date: Thu Jan 15 09:39:46 2015
New Revision: 27187

URL: http://svn.gna.org/viewcvs/relax?rev=27187&view=rev
Log:
The copyright notice in the GUI now uses the info box object.

This is for the status bar at the bottom of the GUI window.  This removes one 
place where copyright
notices needs to be updated each year.  This status text will then be updated 
whenever the info.py
file has been updated.


Modified:
    trunk/gui/relax_gui.py

Modified: trunk/gui/relax_gui.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/gui/relax_gui.py?rev=27187&r1=27186&r2=27187&view=diff
==============================================================================
--- trunk/gui/relax_gui.py      (original)
+++ trunk/gui/relax_gui.py      Thu Jan 15 09:39:46 2015
@@ -920,7 +920,10 @@
         if pipe == None:
             pipe = ''
 
+        # The relax information box.
+        info = Info_box()
+
         # Set the status.
-        wx.CallAfter(self.status_bar.SetStatusText, "(C) 2001-2014 the relax 
development team", 0)
+        wx.CallAfter(self.status_bar.SetStatusText, info.copyright[1], 0)
         wx.CallAfter(self.status_bar.SetStatusText, "Current data pipe:", 1)
         wx.CallAfter(self.status_bar.SetStatusText, pipe, 2)




Related Messages


Powered by MHonArc, Updated Thu Jan 15 10:00:02 2015