[GRASS-SVN] r48286 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 13 18:22:28 EDT 2011


Author: martinl
Date: 2011-09-13 15:22:28 -0700 (Tue, 13 Sep 2011)
New Revision: 48286

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/goutput.py
Log:
wxGUI/vdigit: sync WriteCmdLog() with develbr6


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/goutput.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/goutput.py	2011-09-13 22:17:25 UTC (rev 48285)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/goutput.py	2011-09-13 22:22:28 UTC (rev 48286)
@@ -410,11 +410,11 @@
         
         self.cmd_output.EnsureCaretVisible()
         
-    def WriteCmdLog(self, line, pid=None):
+    def WriteCmdLog(self, line, pid = None, switchPage = True):
         """!Write message in selected style"""
         if pid:
             line = '(' + str(pid) + ') ' + line
-        self.WriteLog(line, style=self.cmd_output.StyleCommand, switchPage = True)
+        self.WriteLog(line, style=self.cmd_output.StyleCommand, switchPage = switchPage)
 
     def WriteWarning(self, line):
         """!Write message in warning style"""



More information about the grass-commit mailing list