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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jan 28 17:09:45 PST 2016


Author: wenzeslaus
Date: 2016-01-28 17:09:45 -0800 (Thu, 28 Jan 2016)
New Revision: 67699

Modified:
   grass/trunk/gui/wxpython/mapdisp/toolbars.py
Log:
wxGUI: remove separators which just take space from toolbar

There were separators separating individual buttons (too dense)
and also one separating the combo box from the rest
(might have been actually useful on some plaftorms where
buttons have shades and combox boxes small borders).

Results is one button shorter on Ubuntu with Unity.

See also #2799.


Modified: grass/trunk/gui/wxpython/mapdisp/toolbars.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/toolbars.py	2016-01-28 20:28:42 UTC (rev 67698)
+++ grass/trunk/gui/wxpython/mapdisp/toolbars.py	2016-01-29 01:09:45 UTC (rev 67699)
@@ -150,7 +150,6 @@
              self.parent.OnRender),
             ('erase', BaseIcons['erase'],
              self.parent.OnErase),
-            (None, ),
             ('pointer', BaseIcons['pointer'],
              self.parent.OnPointer,
              wx.ITEM_CHECK),
@@ -177,19 +176,15 @@
              self.parent.OnZoomBack),
             ('zoomMenu', BaseIcons['zoomMenu'],
              self.parent.OnZoomMenu),
-            (None, ),
             ('analyze', MapIcons['analyze'],
              self.OnAnalyze),
-            (None, ),
             ('overlay', BaseIcons['overlay'],
              self.OnDecoration),
-            (None, ),
             ('saveFile', BaseIcons['saveFile'],
              self.parent.SaveToFile),
             ('printMap', BaseIcons['print'],
             self.parent.PrintMenu),
-            (None, ))
-        )
+        ))
     def InsertTool(self, data):
         """Insert tool to toolbar
         



More information about the grass-commit mailing list