mailr14100 - /branches/gui_testing/gui/controller.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on August 04, 2011 - 10:01:
Author: bugman
Date: Thu Aug  4 10:01:25 2011
New Revision: 14100

URL: http://svn.gna.org/viewcvs/relax?rev=14100&view=rev
Log:
The relax controller will now be shown if hidden and any text is sent to 
STDOUT or STDERR.


Modified:
    branches/gui_testing/gui/controller.py

Modified: branches/gui_testing/gui/controller.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/controller.py?rev=14100&r1=14099&r2=14100&view=diff
==============================================================================
--- branches/gui_testing/gui/controller.py (original)
+++ branches/gui_testing/gui/controller.py Thu Aug  4 10:01:25 2011
@@ -487,6 +487,7 @@
         """
 
         # Store the args.
+        self.controller = parent
         self.log_queue = log_queue
 
         # Initialise the base class.
@@ -647,6 +648,9 @@
         if at_end:
             self.ScrollToLine(self.GetLineCount())
 
+        # Show the relax controller when text is added.
+        if status.show_gui and not self.controller.IsShown():
+            self.controller.Show()
 
 
 class Redirect_text(object):




Related Messages


Powered by MHonArc, Updated Thu Aug 04 10:40:02 2011