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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 13 19:28:48 PST 2016


Author: wenzeslaus
Date: 2016-02-13 19:28:48 -0800 (Sat, 13 Feb 2016)
New Revision: 67826

Modified:
   grass/trunk/gui/wxpython/mapdisp/toolbars.py
Log:
wxGUI/mapdisp: remove erase and print buttons (#2799)

Follows r65774 and r67699.

Leaving the related functions there.

Results in shorter toolbar.


Modified: grass/trunk/gui/wxpython/mapdisp/toolbars.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/toolbars.py	2016-02-14 00:00:11 UTC (rev 67825)
+++ grass/trunk/gui/wxpython/mapdisp/toolbars.py	2016-02-14 03:28:48 UTC (rev 67826)
@@ -144,12 +144,8 @@
     def _toolbarData(self):
         """Toolbar data"""
         return self._getToolbarData((
-            #('displayMap', BaseIcons['display'],
-            #self.parent.OnDraw),
             ('renderMap', BaseIcons['render'],
              self.parent.OnRender),
-            ('erase', BaseIcons['erase'],
-             self.parent.OnErase),
             ('pointer', BaseIcons['pointer'],
              self.parent.OnPointer,
              wx.ITEM_CHECK),
@@ -182,8 +178,6 @@
              self.OnDecoration),
             ('saveFile', BaseIcons['saveFile'],
              self.parent.SaveToFile),
-            ('printMap', BaseIcons['print'],
-            self.parent.PrintMenu),
         ))
     def InsertTool(self, data):
         """Insert tool to toolbar
@@ -277,7 +271,6 @@
         for tool in (self.zoomRegion,
                      self.zoomMenu,
                      self.analyze,
-                     self.printMap,
                      self.select):
             self.EnableTool(tool, enabled)
         self.ChangeToolsDesc(enabled)



More information about the grass-commit mailing list