浏览代码

wxGUI: cosmetics in pyshell intro text

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@46486 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 年之前
父节点
当前提交
e12f2d1a93
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      gui/wxpython/gui_modules/gpyshell.py

+ 2 - 1
gui/wxpython/gui_modules/gpyshell.py

@@ -30,7 +30,8 @@ class PyShellWindow(wx.Panel):
         
         wx.Panel.__init__(self, parent = parent, id = id, **kwargs)
         
-        self.intro = _("Welcome to wxGUI Python Shell %s") % VERSION
+        self.intro = _("Welcome to wxGUI Interactive Python Shell %s") % VERSION + "\n\n" + \
+            _("Type %s for more GRASS scripting related information.") % "\"help(grass)\"" + "\n\n"
         self.shell = PyShell(parent = self, id = wx.ID_ANY,
                              introText = self.intro, locals = {'grass' : grass})