mailr13268 - /branches/gui_testing/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 June 28, 2011 - 22:14:
Author: bugman
Date: Tue Jun 28 22:14:59 2011
New Revision: 13268

URL: http://svn.gna.org/viewcvs/relax?rev=13268&view=rev
Log:
Updated the version information for the recent changes.


Modified:
    branches/gui_testing/gui/relax_gui.py

Modified: branches/gui_testing/gui/relax_gui.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/relax_gui.py?rev=13268&r1=13267&r2=13268&view=diff
==============================================================================
--- branches/gui_testing/gui/relax_gui.py (original)
+++ branches/gui_testing/gui/relax_gui.py Tue Jun 28 22:14:59 2011
@@ -67,11 +67,6 @@
 from gui.user_functions import User_functions
 
 
-# Variables.
-GUI_version = '1.00'
-
-
-
 class Main(wx.Frame):
     """The main GUI class."""
 
@@ -119,7 +114,7 @@
         self.controller = Controller(None, -1, "")
 
         # Set the title.
-        self.SetTitle("relaxGUI " + GUI_version)
+        self.SetTitle("relax " + version)
 
         # Set up the program icon (disabled on Macs).
         if not 'darwin' in sys.platform:
@@ -128,11 +123,11 @@
             self.SetIcon(icon)
 
         # Statusbar fields.
-        self.frame_1_statusbar = self.CreateStatusBar(3, 0)
-        self.frame_1_statusbar.SetStatusWidths([800, 50, -1])
-        frame_1_statusbar_fields = ["relaxGUI (C) 2009 Michael Bieri and (C) 
2010-2011 the relax development team", "relax:", version]
-        for i in range(len(frame_1_statusbar_fields)):
-            
self.frame_1_statusbar.SetStatusText(frame_1_statusbar_fields[i], i)
+        bar = self.CreateStatusBar(3, 0)
+        bar.SetStatusWidths([-5, -1, -1])
+        fields = ["(C) 2001-2011 the relax development team", "relax 
version", version]
+        for i in range(len(fields)):
+            bar.SetStatusText(fields[i], i)
 
         # Add the start screen.
         self.add_start_screen()




Related Messages


Powered by MHonArc, Updated Tue Jun 28 22:20:02 2011