[GRASS-SVN] r70359 - grass/trunk/gui/wxpython/xml

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jan 12 20:37:14 PST 2017


Author: wenzeslaus
Date: 2017-01-12 20:37:14 -0800 (Thu, 12 Jan 2017)
New Revision: 70359

Modified:
   grass/trunk/gui/wxpython/xml/module_tree.xml
   grass/trunk/gui/wxpython/xml/toolboxes.xml
   grass/trunk/gui/wxpython/xml/wxgui_items.xml
Log:
wxGUI: call it comp region, avoid confusion with display region, add -l flag, show in Module tree

Modified: grass/trunk/gui/wxpython/xml/module_tree.xml
===================================================================
--- grass/trunk/gui/wxpython/xml/module_tree.xml	2017-01-13 04:35:54 UTC (rev 70358)
+++ grass/trunk/gui/wxpython/xml/module_tree.xml	2017-01-13 04:37:14 UTC (rev 70359)
@@ -5,6 +5,7 @@
   <items>
     <subtoolbox name="ImportExportLink"/>
     <subtoolbox name="ManageMaps"/>
+    <subtoolbox name="Region"/>
     <subtoolbox name="Raster"/>
     <subtoolbox name="Vector"/>
     <subtoolbox name="Imagery"/>

Modified: grass/trunk/gui/wxpython/xml/toolboxes.xml
===================================================================
--- grass/trunk/gui/wxpython/xml/toolboxes.xml	2017-01-13 04:35:54 UTC (rev 70358)
+++ grass/trunk/gui/wxpython/xml/toolboxes.xml	2017-01-13 04:37:14 UTC (rev 70359)
@@ -531,9 +531,10 @@
     </items>
   </toolbox>
   <toolbox name="Region">
-    <label>Region</label>
+    <label>Computational region</label>
     <items>
-      <wxgui-item name="DisplayRegion"/>
+      <wxgui-item name="ShowRegion"/>
+      <wxgui-item name="ShowRegionLL"/>
       <module-item name="g.region">
         <label>Set region</label>
       </module-item>

Modified: grass/trunk/gui/wxpython/xml/wxgui_items.xml
===================================================================
--- grass/trunk/gui/wxpython/xml/wxgui_items.xml	2017-01-13 04:35:54 UTC (rev 70358)
+++ grass/trunk/gui/wxpython/xml/wxgui_items.xml	2017-01-13 04:37:14 UTC (rev 70359)
@@ -248,12 +248,18 @@
     <description>Defines vector output format utilizing OGR library.</description>
     <keywords>vector,export,output,external,OGR,PostGIS</keywords>
   </wxgui-item>
-  <wxgui-item name="DisplayRegion">
-    <label>Display region</label>
+  <wxgui-item name="ShowRegion">
+    <label>Show current region</label>
     <command>g.region -p</command>
-    <description>Manages the boundary definitions for the geographic region.</description>
+    <description>Shows the extent and resolution of the computational region.</description>
     <keywords>general,settings</keywords>
   </wxgui-item>
+  <wxgui-item name="ShowRegionLL">
+    <label>Show region using latitude and longitude</label>
+    <command>g.region -pl</command>
+    <description>Shows the extent and resolution of the computational region.</description>
+    <keywords>general,settings</keywords>
+  </wxgui-item>
   <wxgui-item name="MapsetAccess">
     <label>Mapset access</label>
     <handler>OnMapsets</handler>



More information about the grass-commit mailing list