[GRASS-SVN] r40129 - in grass/trunk/gui/wxpython: . gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 24 16:10:03 EST 2009


Author: martinl
Date: 2009-12-24 16:10:02 -0500 (Thu, 24 Dec 2009)
New Revision: 40129

Modified:
   grass/trunk/gui/wxpython/gui_modules/goutput.py
   grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: use customized v.krige GUI


Modified: grass/trunk/gui/wxpython/gui_modules/goutput.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/goutput.py	2009-12-24 20:41:58 UTC (rev 40128)
+++ grass/trunk/gui/wxpython/gui_modules/goutput.py	2009-12-24 21:10:02 UTC (rev 40129)
@@ -486,7 +486,7 @@
                     if os.environ.has_key("GRASS_REGION"):
                         del os.environ["GRASS_REGION"]
                     
-                if len(cmdlist) == 1:
+                if len(cmdlist) == 1 and cmdlist[0] not in ('v.krige'):
                     import menuform
                     # process GRASS command without argument
                     menuform.GUI().ParseCommand(cmdlist, parentframe=self)

Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py	2009-12-24 20:41:58 UTC (rev 40128)
+++ grass/trunk/gui/wxpython/wxgui.py	2009-12-24 21:10:02 UTC (rev 40129)
@@ -441,7 +441,7 @@
         """!Run command selected from menu"""
         if event:
             cmd = self.GetMenuCmd(event)
-        self.goutput.RunCmd(cmd, switchPage=True)
+        self.goutput.RunCmd(cmd, switchPage=False)
 
     def OnMenuCmd(self, event, cmd = ''):
         """!Parse command selected from menu"""



More information about the grass-commit mailing list