Browse Source

fix gis_set.py to reflect changes in ghelp

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@42213 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 năm trước cách đây
mục cha
commit
73640239de
1 tập tin đã thay đổi với 6 bổ sung5 xóa
  1. 6 5
      gui/wxpython/gis_set.py

+ 6 - 5
gui/wxpython/gis_set.py

@@ -34,7 +34,8 @@ from gui_modules import globalvar
 if not os.getenv("GRASS_WXBUNDLED"):
     globalvar.CheckForWx()
 
-from gui_modules import help
+import gui_modules.goutput
+from gui_modules.ghelp import HelpWindow
 
 import wx
 import wx.html
@@ -744,10 +745,10 @@ class GRASSStartup(wx.Frame):
         # help text in lib/init/helptext.html
         file=os.path.join(self.gisbase, "docs", "html", "helptext.html")
 
-        helpFrame = help.HelpWindow(parent=self, id=wx.ID_ANY,
-                                    title=_("GRASS Quickstart"),
-                                    size=(640, 480),
-                                    file=file)
+        helpFrame = HelpWindow(parent=self, id=wx.ID_ANY,
+                               title=_("GRASS Quickstart"),
+                               size=(640, 480),
+                               file=file)
         helpFrame.Show(True)
 
         event.Skip()