[GRASS-SVN] r29720 - grass/trunk/gui/tcltk/gis.m
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 16 11:53:39 EST 2008
Author: cmbarton
Date: 2008-01-16 11:53:39 -0500 (Wed, 16 Jan 2008)
New Revision: 29720
Modified:
grass/trunk/gui/tcltk/gis.m/gmmenu.tcl
Log:
Allows setting mapset access from the GUI in WinGRASS. Should be backported to RC4.
Modified: grass/trunk/gui/tcltk/gis.m/gmmenu.tcl
===================================================================
--- grass/trunk/gui/tcltk/gis.m/gmmenu.tcl 2008-01-16 16:45:58 UTC (rev 29719)
+++ grass/trunk/gui/tcltk/gis.m/gmmenu.tcl 2008-01-16 16:53:39 UTC (rev 29720)
@@ -204,7 +204,7 @@
{command {[G_msg "Change region settings"]} {} "g.region: " {} -command {execute g.region }}
}}
{cascad {[G_msg "GRASS working environment"]} {} "" $tmenu {
- {command {[G_msg "Mapset access"]} {} "g.mapsets.tcl: Access other mapsets in current location" {} -command {spawn $env(GISBASE)/etc/g.mapsets.tcl}}
+ {command {[G_msg "Mapset access"]} {} "g.mapsets.tcl: Access other mapsets in current location" {} -command {exec $env(GRASS_WISH) $env(GISBASE)/etc/g.mapsets.tcl --tcltk &}}
{command {[G_msg "Change working environment"]} {} "g.mapset: Change current working session to new mapset, location, or GISDBASE" {} -command {execute g.mapset }}
{command {[G_msg "User access"]} {} "g.access: Modify access by other users to current mapset" {} -command {execute g.access }}
{command {[G_msg "Show settings"]} {} "g.gisenv: Show current GRASS environment settings" {} -command {run_panel g.gisenv }}
More information about the grass-commit
mailing list