[GRASS-SVN] r64190 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jan 15 05:00:42 PST 2015


Author: annakrat
Date: 2015-01-15 05:00:42 -0800 (Thu, 15 Jan 2015)
New Revision: 64190

Modified:
   grass/trunk/gui/wxpython/gui_core/gselect.py
Log:
wxGUI/gselect: put back element mappings removed in r64105 which fixes g.remove

Modified: grass/trunk/gui/wxpython/gui_core/gselect.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/gselect.py	2015-01-15 08:43:36 UTC (rev 64189)
+++ grass/trunk/gui/wxpython/gui_core/gselect.py	2015-01-15 13:00:42 UTC (rev 64190)
@@ -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