[GRASS-SVN] r48285 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 13 18:17:25 EDT 2011


Author: martinl
Date: 2011-09-13 15:17:25 -0700 (Tue, 13 Sep 2011)
New Revision: 48285

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py
   grass/branches/develbranch_6/gui/wxpython/gui_modules/wxvdigit.py
Log:
wxGUI/vdigit: G6-related fixes


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py	2011-09-13 22:13:45 UTC (rev 48284)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py	2011-09-13 22:17:25 UTC (rev 48285)
@@ -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"""

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/wxvdigit.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/wxvdigit.py	2011-09-13 22:13:45 UTC (rev 48284)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/wxvdigit.py	2011-09-13 22:17:25 UTC (rev 48285)
@@ -196,7 +196,7 @@
         """
         name   = create_string_buffer(GNAME_MAX)
         mapset = create_string_buffer(GMAPSET_MAX)
-        if not G_name_is_fully_qualified(bgmap, name, mapset):
+        if not G__name_is_fully_qualified(bgmap, name, mapset):
             name   = str(bgmap)
             mapset = str(G_find_vector2(bgmap, ''))
         else:



More information about the grass-commit mailing list