[GRASS-SVN] r64107 - grass/branches/releasebranch_7_0/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jan 12 14:52:45 PST 2015
Author: martinl
Date: 2015-01-12 14:52:45 -0800 (Mon, 12 Jan 2015)
New Revision: 64107
Modified:
grass/branches/releasebranch_7_0/gui/wxpython/gui_core/gselect.py
Log:
wxGUI: clean up elementdict #2440
(merge r64105 from trunk)
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-12 22:50:52 UTC (rev 64106)
+++ grass/branches/releasebranch_7_0/gui/wxpython/gui_core/gselect.py 2015-01-12 22:52:45 UTC (rev 64107)
@@ -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