[GRASS-SVN] r49831 - grass/trunk/gui/wxpython/iclass
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Dec 19 07:00:06 EST 2011
Author: martinl
Date: 2011-12-19 04:00:05 -0800 (Mon, 19 Dec 2011)
New Revision: 49831
Modified:
grass/trunk/gui/wxpython/iclass/frame.py
Log:
wxGUI/iclass: fix toolbars order on Windows
Modified: grass/trunk/gui/wxpython/iclass/frame.py
===================================================================
--- grass/trunk/gui/wxpython/iclass/frame.py 2011-12-19 11:31:42 UTC (rev 49830)
+++ grass/trunk/gui/wxpython/iclass/frame.py 2011-12-19 12:00:05 UTC (rev 49831)
@@ -94,9 +94,11 @@
#
toolbarsCopy = toolbars[:]
- self.AddToolbar(toolbarsCopy.pop(0))
if sys.platform == 'win32':
+ self.AddToolbar(toolbarsCopy.pop(1))
toolbarsCopy.reverse()
+ else:
+ self.AddToolbar(toolbarsCopy.pop(0))
for toolb in toolbarsCopy:
self.AddToolbar(toolb)
self.firstMapWindow.SetToolbar(self.toolbars['vdigit'])
@@ -349,8 +351,7 @@
def GetMapToolbar(self):
"""!Returns toolbar with zooming tools"""
return self.toolbars['iClassMap']
-
-
+
def OnZoomMenu(self, event):
"""!Popup Zoom menu """
zoommenu = wx.Menu()
More information about the grass-commit
mailing list