浏览代码

note that GUI is lauched on background also in init script

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@45387 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 年之前
父节点
当前提交
e7d9177605
共有 2 个文件被更改,包括 4 次插入2 次删除
  1. 1 1
      general/g.gui/main.c
  2. 3 1
      lib/init/grass.py

+ 1 - 1
general/g.gui/main.c

@@ -101,7 +101,7 @@ int main(int argc, char *argv[])
 	exit(EXIT_SUCCESS);
 
 
-    G_message(_("Launching '%s' GUI in the background, please wait ..."), type->answer);
+    G_message(_("Launching '%s' GUI in the background, please wait..."), type->answer);
 
     if (strcmp(type->answer, "wxpython") == 0) {
 	sprintf(progname, "%s/etc/gui/wxpython/wxgui.py", G_gisbase());

+ 3 - 1
lib/init/grass.py

@@ -990,7 +990,9 @@ else:
     show_banner()
     say_hello()
     show_info()
-
+    if grass_gui == "wxpython":
+        message(_("Launching '%s' GUI in the background, please wait...") % grass_gui)
+    
 if sh in ['csh', 'tcsh']:
     csh_startup()
 elif sh in ['bash', 'msh', 'cygwin']: