[GRASS-SVN] r37876 - in grass/branches/develbranch_6/gui/tcltk/gis.m: . docs

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jun 13 23:28:59 EDT 2009


Author: hamish
Date: 2009-06-13 23:28:59 -0400 (Sat, 13 Jun 2009)
New Revision: 37876

Modified:
   grass/branches/develbranch_6/gui/tcltk/gis.m/docs/gm_animate.html
   grass/branches/develbranch_6/gui/tcltk/gis.m/docs/gm_georect.html
   grass/branches/develbranch_6/gui/tcltk/gis.m/docs/gm_profile.html
   grass/branches/develbranch_6/gui/tcltk/gis.m/gmmenu.tcl
   grass/branches/develbranch_6/gui/tcltk/gis.m/runandoutput.tcl
Log:
(partial) fix for when $GISBASE includes a space (merge from relbr64)

Modified: grass/branches/develbranch_6/gui/tcltk/gis.m/docs/gm_animate.html
===================================================================
--- grass/branches/develbranch_6/gui/tcltk/gis.m/docs/gm_animate.html	2009-06-14 03:23:42 UTC (rev 37875)
+++ grass/branches/develbranch_6/gui/tcltk/gis.m/docs/gm_animate.html	2009-06-14 03:28:59 UTC (rev 37876)
@@ -8,6 +8,7 @@
 
 <body bgcolor="white">
 
+<!-- meta page description: ANIMATION TOOL (gis.m) -->
 <h2>ANIMATION TOOL (gis.m)</h2>
 
 The Animation Tool is an interactive interface to display a series of

Modified: grass/branches/develbranch_6/gui/tcltk/gis.m/docs/gm_georect.html
===================================================================
--- grass/branches/develbranch_6/gui/tcltk/gis.m/docs/gm_georect.html	2009-06-14 03:23:42 UTC (rev 37875)
+++ grass/branches/develbranch_6/gui/tcltk/gis.m/docs/gm_georect.html	2009-06-14 03:28:59 UTC (rev 37876)
@@ -7,6 +7,7 @@
 </head>
 <body bgcolor="white">
 
+<!-- meta page description: GEORECTIFY TOOL (gis.m) -->
 <h2>GEORECTIFY TOOL (gis.m)</h2>
 
 In order to use and overlay different forms of geospatial data in a

Modified: grass/branches/develbranch_6/gui/tcltk/gis.m/docs/gm_profile.html
===================================================================
--- grass/branches/develbranch_6/gui/tcltk/gis.m/docs/gm_profile.html	2009-06-14 03:23:42 UTC (rev 37875)
+++ grass/branches/develbranch_6/gui/tcltk/gis.m/docs/gm_profile.html	2009-06-14 03:28:59 UTC (rev 37876)
@@ -7,6 +7,7 @@
 </head>
 <body bgcolor="white">
 
+<!-- meta page description: PROFILE TOOL (gis.m) -->
 <h2>PROFILE TOOL (gis.m)</h2>
 
 The Profile Tool will draw a 2-dimensional profile of the surface of

Modified: grass/branches/develbranch_6/gui/tcltk/gis.m/gmmenu.tcl
===================================================================
--- grass/branches/develbranch_6/gui/tcltk/gis.m/gmmenu.tcl	2009-06-14 03:23:42 UTC (rev 37875)
+++ grass/branches/develbranch_6/gui/tcltk/gis.m/gmmenu.tcl	2009-06-14 03:28:59 UTC (rev 37876)
@@ -435,7 +435,7 @@
 		{command {[G_msg "Clean vector"]} {} "v.clean: Clean vector objects" {} -command {execute v.clean }}
 		{command {[G_msg "Smooth or simplify"]} {} "v.generalize: Smooth or simplify lines and boundaries (reduce vertices)" {} -command {execute v.generalize }}
 		{separator}
-		{command {[G_msg "Convert object types"]} {} "v.type: Convert vector objects from one feature type to another" {} -command {execute $env(GISBASE)/etc/gui/scripts/v.type_wrapper.sh }}
+		{command {[G_msg "Convert object types"]} {} "v.type: Convert vector objects from one feature type to another" {} -command {execute "$env(GISBASE)/etc/gui/scripts/v.type_wrapper.sh" }}
 		{separator}
 		{command {[G_msg "Add centroids"]} {} "v.centroids: Add centroids to closed boundaries to create areas" {} -command {execute v.centroids }}
 		{separator}

Modified: grass/branches/develbranch_6/gui/tcltk/gis.m/runandoutput.tcl
===================================================================
--- grass/branches/develbranch_6/gui/tcltk/gis.m/runandoutput.tcl	2009-06-14 03:23:42 UTC (rev 37875)
+++ grass/branches/develbranch_6/gui/tcltk/gis.m/runandoutput.tcl	2009-06-14 03:28:59 UTC (rev 37876)
@@ -72,7 +72,7 @@
     set program [lindex $cmd 0]
     set code ""
 
-	if {[catch {set code [exec -- $program --tcltk 2> $devnull]} error]} {
+	if {[catch {set code [exec -- "$program" --tcltk 2> $devnull]} error]} {
 		GmLib::errmsg $error
 	}
 
@@ -170,7 +170,7 @@
 
 proc execute {cmd} {
     # Use run and output
-    run_ui $cmd
+    run_ui [list $cmd]
 }
 
 ###############################################################################



More information about the grass-commit mailing list