mailr14076 - /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 02, 2011 - 18:02:
Author: bugman
Date: Tue Aug  2 18:02:06 2011
New Revision: 14076

URL: http://svn.gna.org/viewcvs/relax?rev=14076&view=rev
Log:
Renamed the relax controller IO redirection append_text() method to 
add_text().


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=14076&r1=14075&r2=14076&view=diff
==============================================================================
--- branches/gui_testing/gui/controller.py (original)
+++ branches/gui_testing/gui/controller.py Tue Aug  2 18:02:06 2011
@@ -504,7 +504,7 @@
         self.max_entries = max_entries
 
 
-    def append_text(self, string):
+    def add_text(self, string):
         """Update the text control.
 
         @param string:  The text to write.
@@ -528,4 +528,4 @@
         """
 
         # Append the text to the controller asynchronously, with limited 
scroll back.
-        wx.CallAfter(self.append_text, string)
+        wx.CallAfter(self.add_text, string)




Related Messages


Powered by MHonArc, Updated Tue Aug 02 18:20:01 2011