Browse Source

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 https://trac.osgeo.org/grass/ticket/2799.


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@67699 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 9 years ago
parent
commit
f08c74be33
1 changed files with 1 additions and 6 deletions
  1. 1 6
      gui/wxpython/mapdisp/toolbars.py

+ 1 - 6
gui/wxpython/mapdisp/toolbars.py

@@ -150,7 +150,6 @@ class MapToolbar(BaseToolbar):
              self.parent.OnRender),
             ('erase', BaseIcons['erase'],
              self.parent.OnErase),
-            (None, ),
             ('pointer', BaseIcons['pointer'],
              self.parent.OnPointer,
              wx.ITEM_CHECK),
@@ -177,19 +176,15 @@ class MapToolbar(BaseToolbar):
              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