소스 검색

wxGUI: rename 'add legend' item to 'add raster legend'

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@69171 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 8 년 전
부모
커밋
153dd10b49
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      gui/wxpython/mapdisp/toolbars.py

+ 3 - 3
gui/wxpython/mapdisp/toolbars.py

@@ -33,8 +33,8 @@ MapIcons = {
                        desc=_('Select features interactively from vector map')),
                        desc=_('Select features interactively from vector map')),
     'addBarscale': MetaIcon(img='scalebar-add',
     'addBarscale': MetaIcon(img='scalebar-add',
                             label=_('Add scale bar')),
                             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',
     'addVectorLegend': MetaIcon(img='legend-add',
                                 label=_('Add vector legend')),
                                 label=_('Add vector legend')),
     'addNorthArrow': MetaIcon(img='north-arrow-add',
     'addNorthArrow': MetaIcon(img='north-arrow-add',
@@ -269,7 +269,7 @@ class MapToolbar(BaseToolbar):
         """Decorations overlay menu
         """Decorations overlay menu
         """
         """
         self._onMenu(
         self._onMenu(
-            ((MapIcons["addLegend"],
+            ((MapIcons["addRasterLegend"],
               lambda evt: self.parent.AddLegend()),
               lambda evt: self.parent.AddLegend()),
              (MapIcons["addVectorLegend"],
              (MapIcons["addVectorLegend"],
               lambda evt: self.parent.AddLegendVect()),
               lambda evt: self.parent.AddLegendVect()),