[GRASS-SVN] r64191 - grass/branches/releasebranch_7_0/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jan 15 05:02:17 PST 2015


Author: annakrat
Date: 2015-01-15 05:02:17 -0800 (Thu, 15 Jan 2015)
New Revision: 64191

Modified:
   grass/branches/releasebranch_7_0/gui/wxpython/gui_core/gselect.py
Log:
wxGUI/gselect: put back element mappings removed in r64105 which fixes g.remove (merge from trunk, r64190)

Modified: grass/branches/releasebranch_7_0/gui/wxpython/gui_core/gselect.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/gui_core/gselect.py	2015-01-15 13:00:42 UTC (rev 64190)
+++ grass/branches/releasebranch_7_0/gui/wxpython/gui_core/gselect.py	2015-01-15 13:02:17 UTC (rev 64191)
@@ -431,16 +431,20 @@
         curr_mapset = grass.gisenv()['MAPSET']
         
         # map element types to g.list types
-        elementdict = {'cell':'raster',
-                       'grid3':'raster_3d',
-                       'vector' : 'vector',
-                       'paint/labels':'label',
-                       'windows':'region',
-                       'group':'group',
-                       'stds':'stds',
-                       'strds':'strds',
-                       'str3ds':'str3ds',
-                       'stvds':'stvds'}
+        elementdict = {'cell': 'raster',
+                       'raster': 'raster',
+                       'grid3': 'raster_3d',
+                       'raster_3d': 'raster_3d',
+                       'vector': 'vector',
+                       'paint/labels': 'label',
+                       'label': 'label',
+                       'windows': 'region',
+                       'region': 'region',
+                       'group': 'group',
+                       'stds': 'stds',
+                       'strds': 'strds',
+                       'str3ds': 'str3ds',
+                       'stvds': 'stvds'}
 
         # to support multiple elements
         element_list = element.split(',')



More information about the grass-commit mailing list