[GRASS-SVN] r48965 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Oct 27 11:44:55 EDT 2011
Author: martinl
Date: 2011-10-27 08:44:54 -0700 (Thu, 27 Oct 2011)
New Revision: 48965
Modified:
grass/trunk/gui/wxpython/gui_modules/ghelp.py
Log:
wxGUI/about: hyperlink for project site
Modified: grass/trunk/gui/wxpython/gui_modules/ghelp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/ghelp.py 2011-10-27 13:34:22 UTC (rev 48964)
+++ grass/trunk/gui/wxpython/gui_modules/ghelp.py 2011-10-27 15:44:54 UTC (rev 48965)
@@ -28,10 +28,10 @@
import wx
try:
import wx.lib.agw.customtreectrl as CT
-# import wx.lib.agw.hyperlink as hl
+ from wx.lib.agw.hyperlink import HyperLinkCtrl
except ImportError:
import wx.lib.customtreectrl as CT
-# import wx.lib.hyperlink as hl
+ from wx.lib.hyperlink import HyperLinkCtrl
import wx.lib.flatnotebook as FN
import wx.lib.scrolledpanel as scrolled
@@ -516,7 +516,7 @@
pos = (row, 0),
flag = wx.ALIGN_RIGHT)
- infoGridSizer.Add(item = wx.StaticText(parent = infoTxt, id = wx.ID_ANY,
+ infoGridSizer.Add(item = HyperLinkCtrl(parent = infoTxt, id = wx.ID_ANY,
label = 'http://grass.osgeo.org'),
pos = (row, 1),
flag = wx.ALIGN_LEFT)
More information about the grass-commit
mailing list