[GRASS-SVN] r34685 - grass/trunk/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 2 15:52:56 EST 2008


Author: martinl
Date: 2008-12-02 15:52:56 -0500 (Tue, 02 Dec 2008)
New Revision: 34685

Modified:
   grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: about dialog - revision
       (merge from devbr6, r34681:r34684)


Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py	2008-12-02 20:47:04 UTC (rev 34684)
+++ grass/trunk/gui/wxpython/wxgui.py	2008-12-02 20:52:56 UTC (rev 34685)
@@ -492,6 +492,8 @@
     def OnAboutGRASS(self, event):
         """Display 'About GRASS' dialog"""
         info = wx.AboutDialogInfo()
+
+        rev = "$Revision$"
         # name
         info.SetName("GRASS GIS")
         # version
@@ -501,8 +503,8 @@
         copyrightFile = open(os.path.join(os.getenv("GISBASE"), "COPYING"), 'r')
         copyrightOut = []
         copyright = copyrightFile.readlines()
-        info.SetCopyright(wordwrap(''.join(copyright[:11] + copyright[26:-3]),
-                                   550, wx.ClientDC(self)))
+        info.SetCopyright(rev + '\n\n' + wordwrap(''.join(copyright[:11] + copyright[26:-3]),
+                                                  550, wx.ClientDC(self)))
         copyrightFile.close()
         # website
         info.SetWebSite(("http://grass.osgeo.org", "The official GRASS site"))



More information about the grass-commit mailing list