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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 22 12:37:30 EDT 2009


Author: martinl
Date: 2009-08-22 12:37:30 -0400 (Sat, 22 Aug 2009)
New Revision: 38835

Modified:
   grass-addons/vector/v.krige/v.krige.py
Log:
import help module


Modified: grass-addons/vector/v.krige/v.krige.py
===================================================================
--- grass-addons/vector/v.krige/v.krige.py	2009-08-22 16:36:28 UTC (rev 38834)
+++ grass-addons/vector/v.krige/v.krige.py	2009-08-22 16:37:30 UTC (rev 38835)
@@ -108,14 +108,13 @@
 GUIPath = os.path.join(os.getenv("GISBASE"), "etc", "wxpython")
 sys.path.append(GUIPath)
 
-from gis_set import HelpWindow as HelpWindow
-
 import globalvar
 if not os.getenv("GRASS_WXBUNDLED"):
     globalvar.CheckForWx()
 import gselect
 import goutput
 import menuform
+import help
 
 import wx
 import wx.lib.flatnotebook as FN
@@ -417,10 +416,10 @@
     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 = HelpWindow(parent=self, id=wx.ID_ANY,
-                               title=_("GRASS - Help page for v.krige.py"),
-                               size=(640, 480),
-                               file=file)
+        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)
 
         event.Skip()



More information about the grass-commit mailing list