Author: bugman Date: Wed Sep 21 19:09:28 2011 New Revision: 14741 URL: http://svn.gna.org/viewcvs/relax?rev=14741&view=rev Log: Bug fix for the main window status bar on MS Windows. The text is now being set with wx.CallAfter calls. Without this, sometimes the text would be blank. 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=14741&r1=14740&r2=14741&view=diff ============================================================================== --- 1.3/gui/relax_gui.py (original) +++ 1.3/gui/relax_gui.py Wed Sep 21 19:09:28 2011 @@ -134,9 +134,9 @@ # Set up the status bar. self.status_bar = self.CreateStatusBar(3, 0) - self.status_bar.SetStatusWidths([-4, -1, -2]) - self.status_bar.SetStatusText("(C) 2001-2011 the relax development team", 0) - self.status_bar.SetStatusText("Current data pipe:", 1) + 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.update_status_bar() # Add the start screen.