Author: bugman Date: Mon Apr 16 00:09:08 2012 New Revision: 15714 URL: http://svn.gna.org/viewcvs/relax?rev=15714&view=rev Log: The relax controller now shows the relax intro text to mimic the prompt/scripting modes. Previously the text was being printed prior to the initialisation of the controller and was being lost. Modified: 1.3/gui/controller.py Modified: 1.3/gui/controller.py URL: http://svn.gna.org/viewcvs/relax/1.3/gui/controller.py?rev=15714&r1=15713&r2=15714&view=diff ============================================================================== --- 1.3/gui/controller.py (original) +++ 1.3/gui/controller.py Mon Apr 16 00:09:08 2012 @@ -1,7 +1,7 @@ ############################################################################### # # # Copyright (C) 2009 Michael Bieri # -# Copyright (C) 2010-2011 Edward d'Auvergne # +# Copyright (C) 2010-2012 Edward d'Auvergne # # # # This file is part of the program relax. # # # @@ -40,6 +40,7 @@ from gui.icons import relax_icons from gui.misc import add_border, str_to_gui from gui.paths import IMAGE_PATH, icon_16x16 +from info import Info_box class Controller(wx.Frame): @@ -105,6 +106,10 @@ # Create a timer for updating the gauges. self.timer = wx.Timer(self) self.Bind(wx.EVT_TIMER, self.handler_timer, self.timer) + + # The relax intro print out, to mimic the prompt/script interface. + info = Info_box() + print(info.intro_text()) # Register functions with the observer objects. status.observers.pipe_alteration.register('controller', self.update_controller)