[GRASS-SVN] r41837 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Apr 13 09:26:01 EDT 2010
Author: martinl
Date: 2010-04-13 09:25:57 -0400 (Tue, 13 Apr 2010)
New Revision: 41837
Modified:
grass/trunk/gui/wxpython/gui_modules/gmodeler.py
grass/trunk/gui/wxpython/gui_modules/help.py
Log:
wxGUI: cosmetics in aboutwindow
Modified: grass/trunk/gui/wxpython/gui_modules/gmodeler.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gmodeler.py 2010-04-13 13:15:45 UTC (rev 41836)
+++ grass/trunk/gui/wxpython/gui_modules/gmodeler.py 2010-04-13 13:25:57 UTC (rev 41837)
@@ -27,6 +27,7 @@
import traceback
import getpass
import stat
+import textwrap
try:
import xml.etree.ElementTree as etree
@@ -552,9 +553,9 @@
info.SetIcon(wx.Icon(os.path.join(globalvar.ETCICONDIR, 'grass.ico'), wx.BITMAP_TYPE_ICO))
info.SetName(_('wxGUI Graphical Modeler'))
info.SetWebSite('http://grass.osgeo.org')
- info.SetDescription(_('(C) 2010 by the GRASS Development Team\n\n'
- 'This program is free software under the GNU General Public License'
- '(>=v2). Read the file COPYING that comes with GRASS for details.'))
+ info.SetDescription(_('(C) 2010 by the GRASS Development Team\n\n') +
+ '\n'.join(textwrap.wrap(_('This program is free software under the GNU General Public License'
+ '(>=v2). Read the file COPYING that comes with GRASS for details.'), 100)))
wx.AboutBox(info)
Modified: grass/trunk/gui/wxpython/gui_modules/help.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/help.py 2010-04-13 13:15:45 UTC (rev 41836)
+++ grass/trunk/gui/wxpython/gui_modules/help.py 2010-04-13 13:25:57 UTC (rev 41837)
@@ -26,7 +26,6 @@
# import wx.lib.hyperlink as hl
import wx.lib.flatnotebook as FN
import wx.lib.scrolledpanel as scrolled
-from wx.lib.wordwrap import wordwrap
import menudata
import gcmd
More information about the grass-commit
mailing list