[GRASS-SVN] r54398 - grass/trunk/gui/wxpython/vdigit
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Dec 25 04:02:09 PST 2012
Author: martinl
Date: 2012-12-25 04:02:09 -0800 (Tue, 25 Dec 2012)
New Revision: 54398
Modified:
grass/trunk/gui/wxpython/vdigit/toolbars.py
Log:
wxGUI/vdigit: simplify Help()
Modified: grass/trunk/gui/wxpython/vdigit/toolbars.py
===================================================================
--- grass/trunk/gui/wxpython/vdigit/toolbars.py 2012-12-25 11:40:08 UTC (rev 54397)
+++ grass/trunk/gui/wxpython/vdigit/toolbars.py 2012-12-25 12:02:09 UTC (rev 54398)
@@ -457,18 +457,8 @@
def OnHelp(self, event):
"""!Show digitizer help page in web browser"""
- try:
- log = self.parent.GetLayerManager().GetLogWindow()
- except:
- log = None
+ self._giface.Help('wxGUI.vdigit')
- if log:
- log.RunCmd(['g.manual',
- 'entry = wxGUI.vdigit'])
- else:
- RunCommand('g.manual',
- entry = 'wxGUI.vdigit')
-
def OnAdditionalToolMenu(self, event):
"""!Menu for additional tools"""
point = wx.GetMousePosition()
More information about the grass-commit
mailing list