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)
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits