[GRASS-SVN] r46060 - grass-addons/gui/wxpython/wx.psmap/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Apr 21 04:24:15 EDT 2011
Author: martinl
Date: 2011-04-21 01:24:15 -0700 (Thu, 21 Apr 2011)
New Revision: 46060
Modified:
grass-addons/gui/wxpython/wx.psmap/gui_modules/psmap.py
Log:
wx.psmap: add 'help' icon to the toolbar
Modified: grass-addons/gui/wxpython/wx.psmap/gui_modules/psmap.py
===================================================================
--- grass-addons/gui/wxpython/wx.psmap/gui_modules/psmap.py 2011-04-21 08:21:40 UTC (rev 46059)
+++ grass-addons/gui/wxpython/wx.psmap/gui_modules/psmap.py 2011-04-21 08:24:15 UTC (rev 46060)
@@ -144,6 +144,7 @@
self.generatePDF = wx.NewId()
self.loadFile = wx.NewId()
self.pan = wx.NewId()
+ self.help = wx.NewId()
icons = Icons['psMap']
return self._getToolbarData(((self.loadFile, 'loadFile', icons['scriptLoad'],
@@ -183,6 +184,8 @@
( self.generatePDF, 'generatePDF', icons['pdfExport'],
self.parent.OnPDFFile),
(None, ),
+ (self.help, "help", Icons['misc']['help'],
+ self.parent.OnHelp),
(self.quit, 'quit', icons['quit'],
self.parent.OnCloseWindow))
)
More information about the grass-commit
mailing list