[GRASS-SVN] r69171 - grass/trunk/gui/wxpython/mapdisp

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 21 02:01:00 PDT 2016


Author: martinl
Date: 2016-08-21 02:01:00 -0700 (Sun, 21 Aug 2016)
New Revision: 69171

Modified:
   grass/trunk/gui/wxpython/mapdisp/toolbars.py
Log:
wxGUI: rename 'add legend' item to 'add raster legend'

Modified: grass/trunk/gui/wxpython/mapdisp/toolbars.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/toolbars.py	2016-08-21 02:33:33 UTC (rev 69170)
+++ grass/trunk/gui/wxpython/mapdisp/toolbars.py	2016-08-21 09:01:00 UTC (rev 69171)
@@ -33,8 +33,8 @@
                        desc=_('Select features interactively from vector map')),
     'addBarscale': MetaIcon(img='scalebar-add',
                             label=_('Add scale bar')),
-    'addLegend': MetaIcon(img='legend-add',
-                          label=_('Add legend')),
+    'addRasterLegend': MetaIcon(img='legend-add',
+                          label=_('Add raster legend')),
     'addVectorLegend': MetaIcon(img='legend-add',
                                 label=_('Add vector legend')),
     'addNorthArrow': MetaIcon(img='north-arrow-add',
@@ -269,7 +269,7 @@
         """Decorations overlay menu
         """
         self._onMenu(
-            ((MapIcons["addLegend"],
+            ((MapIcons["addRasterLegend"],
               lambda evt: self.parent.AddLegend()),
              (MapIcons["addVectorLegend"],
               lambda evt: self.parent.AddLegendVect()),



More information about the grass-commit mailing list