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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jan 12 14:48:39 PST 2015


Author: martinl
Date: 2015-01-12 14:48:39 -0800 (Mon, 12 Jan 2015)
New Revision: 64105

Modified:
   grass/trunk/gui/wxpython/gui_core/gselect.py
Log:
wxGUI: clean up elementdict

Modified: grass/trunk/gui/wxpython/gui_core/gselect.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/gselect.py	2015-01-12 21:50:21 UTC (rev 64104)
+++ grass/trunk/gui/wxpython/gui_core/gselect.py	2015-01-12 22:48:39 UTC (rev 64105)
@@ -429,39 +429,14 @@
         """
         # get current mapset
         curr_mapset = grass.gisenv()['MAPSET']
-
+        
         # map element types to g.list types
         elementdict = {'cell':'raster',
-                       'raster': 'raster',
-                       'raster files':'raster',
                        'grid3':'raster_3d',
-                       '3draster':'raster_3d',
-                       '3d-raster':'raster_3d',
-                       'raster3D':'raster_3d',
-                       'raster3D files':'raster_3d',
                        'vector' : 'vector',
-                       'binary vector files':'vector',
-                       'dig':'oldvect',
-                       'oldvect':'oldvector',
-                       'old vector':'oldvector',
-                       'dig_ascii':'asciivector',
-                       'asciivect':'asciivector',
-                       'asciivector':'asciivector',
-                       'ascii vector files':'asciivector',
-                       'icons':'icon',
-                       'icon':'icon',
-                       'paint icon files':'icon',
                        'paint/labels':'label',
-                       'labels':'label',
-                       'label':'label',
-                       'paint label files':'label',
                        'windows':'region',
-                       'region':'region',
-                       'region definition':'region',
-                       'region definition files':'region',
                        'group':'group',
-                       'imagery group':'group',
-                       'imagery group files':'group',
                        'stds':'stds',
                        'strds':'strds',
                        'str3ds':'str3ds',



More information about the grass-commit mailing list