mailr14744 - /1.3/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 September 21, 2011 - 22:01:
Author: bugman
Date: Wed Sep 21 22:01:24 2011
New Revision: 14744

URL: http://svn.gna.org/viewcvs/relax?rev=14744&view=rev
Log:
Another attempt at fixing the status bar on MS Windows.

The previous fix did not work all of the time, so hopefully this one will :S


Modified:
    1.3/gui/relax_gui.py

Modified: 1.3/gui/relax_gui.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/relax_gui.py?rev=14744&r1=14743&r2=14744&view=diff
==============================================================================
--- 1.3/gui/relax_gui.py (original)
+++ 1.3/gui/relax_gui.py Wed Sep 21 22:01:24 2011
@@ -134,9 +134,7 @@
 
         # Set up the status bar.
         self.status_bar = self.CreateStatusBar(3, 0)
-        wx.CallAfter(self.status_bar.SetStatusWidths, [-4, -1, -2])
-        wx.CallAfter(self.status_bar.SetStatusText, "(C) 2001-2011 the relax 
development team", 0)
-        wx.CallAfter(self.status_bar.SetStatusText, "Current data pipe:", 1)
+        self.status_bar.SetStatusWidths([-4, -1, -2])
         self.update_status_bar()
 
         # Add the start screen.
@@ -728,4 +726,6 @@
             pipe = ''
 
         # Set the status.
+        wx.CallAfter(self.status_bar.SetStatusText, "(C) 2001-2011 the relax 
development team", 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 Wed Sep 21 22:20:01 2011