[GRASS-SVN] r68977 - grass/trunk/gui/wxpython/lmgr
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jul 15 07:41:59 PDT 2016
Author: martinl
Date: 2016-07-15 07:41:59 -0700 (Fri, 15 Jul 2016)
New Revision: 68977
Modified:
grass/trunk/gui/wxpython/lmgr/frame.py
grass/trunk/gui/wxpython/lmgr/layertree.py
Log:
wxGUI: reorder items in import menu
Modified: grass/trunk/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/frame.py 2016-07-15 14:39:01 UTC (rev 68976)
+++ grass/trunk/gui/wxpython/lmgr/frame.py 2016-07-15 14:41:59 UTC (rev 68977)
@@ -1269,13 +1269,14 @@
"""Import maps menu (import, link)
"""
self._popupMenu((('rastImport', self.OnImportGdalLayers),
- ('rastLink', self.OnLinkGdalLayers),
+ ('vectImport', self.OnImportOgrLayers),
+ (None, None),
('rastUnpack', self.OnUnpackRaster),
- ('rastOut', self.OnRasterOutputFormat),
+ ('vectUnpack', self.OnUnpackVector),
(None, None),
- ('vectImport', self.OnImportOgrLayers),
+ ('rastLink', self.OnLinkGdalLayers),
('vectLink', self.OnLinkOgrLayers),
- ('vectUnpack', self.OnUnpackVector),
+ ('rastOut', self.OnRasterOutputFormat),
('vectOut', self.OnVectorOutputFormat)))
def OnWorkspaceNew(self, event=None):
Modified: grass/trunk/gui/wxpython/lmgr/layertree.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/layertree.py 2016-07-15 14:39:01 UTC (rev 68976)
+++ grass/trunk/gui/wxpython/lmgr/layertree.py 2016-07-15 14:41:59 UTC (rev 68977)
@@ -57,7 +57,7 @@
'rastLink': MetaIcon(img='layer-import',
label=_('Link external raster data')),
'rastUnpack': MetaIcon(img='layer-import',
- label=_('Unpack raster map')),
+ label=_('Unpack GRASS raster map')),
'rastOut': MetaIcon(img='layer-export',
label=_('Set raster output format')),
'vectImport': MetaIcon(img='layer-import',
@@ -65,7 +65,7 @@
'vectLink': MetaIcon(img='layer-import',
label=_('Link external vector data')),
'vectUnpack': MetaIcon(img='layer-import',
- label=_('Unpack vector map')),
+ label=_('Unpack GRASS vector map')),
'vectOut': MetaIcon(img='layer-export',
label=_('Set vector output format')),
'wmsImport': MetaIcon(img='layer-wms-add',
More information about the grass-commit
mailing list