[GRASS-SVN] r38836 - grass-addons/vector/v.krige

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 23 02:26:24 EDT 2009


Author: martinl
Date: 2009-08-23 02:26:23 -0400 (Sun, 23 Aug 2009)
New Revision: 38836

Modified:
   grass-addons/vector/v.krige/v.krige.py
Log:
v.krige: HelpWindow is unable to render v.krige's manual page (need to
be fixed) - replaced by g.manual for now


Modified: grass-addons/vector/v.krige/v.krige.py
===================================================================
--- grass-addons/vector/v.krige/v.krige.py	2009-08-22 16:37:30 UTC (rev 38835)
+++ grass-addons/vector/v.krige/v.krige.py	2009-08-23 06:26:23 UTC (rev 38836)
@@ -414,14 +414,17 @@
         event.Skip()
 
     def OnHelpButton(self, event):
-        file = os.path.join(os.getenv("GISBASE"), "docs", "html", "v.krige.py.html")
-        #file = os.path.join(os.path.curdir, "description.html")
-        helpFrame = help.HelpWindow(parent=self, id=wx.ID_ANY,
-                                    title=_("GRASS - Help page for v.krige.py"),
-                                    size=(640, 480),
-                                    file=file)
-        helpFrame.Show(True)
+        # file = os.path.join(os.getenv("GISBASE"), "docs", "html", "v.krige.py.html")
+        # file = os.path.join(os.path.curdir, "description.html")
+        # @TODO fix HelpWindow
+        # helpFrame = help.HelpWindow(parent=self, id=wx.ID_ANY,
+        #                            title=_("GRASS - Help page for v.krige.py"),
+        #                            size=(640, 480),
+        #                            file=file)
+        # helpFrame.Show(True)
 
+        grass.run_command('g.manual', entry = 'v.krige.py')
+        
         event.Skip()
 
     def OnInputDataChanged(self, event):



More information about the grass-commit mailing list