[GRASS-SVN] r48966 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Oct 27 11:47:46 EDT 2011
Author: martinl
Date: 2011-10-27 08:47:45 -0700 (Thu, 27 Oct 2011)
New Revision: 48966
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/ghelp.py
Log:
wxGUI/about: hyperlink for project site
(merge r48965 from trunk)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/ghelp.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/ghelp.py 2011-10-27 15:44:54 UTC (rev 48965)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/ghelp.py 2011-10-27 15:47:45 UTC (rev 48966)
@@ -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