[GRASS-SVN] r45387 - in grass/trunk: general/g.gui lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 12 08:01:43 EST 2011


Author: martinl
Date: 2011-02-12 05:01:43 -0800 (Sat, 12 Feb 2011)
New Revision: 45387

Modified:
   grass/trunk/general/g.gui/main.c
   grass/trunk/lib/init/grass.py
Log:
note that GUI is lauched on background also in init script


Modified: grass/trunk/general/g.gui/main.c
===================================================================
--- grass/trunk/general/g.gui/main.c	2011-02-12 13:00:12 UTC (rev 45386)
+++ grass/trunk/general/g.gui/main.c	2011-02-12 13:01:43 UTC (rev 45387)
@@ -101,7 +101,7 @@
 	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());

Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py	2011-02-12 13:00:12 UTC (rev 45386)
+++ grass/trunk/lib/init/grass.py	2011-02-12 13:01:43 UTC (rev 45387)
@@ -990,7 +990,9 @@
     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']:



More information about the grass-commit mailing list