[GRASS-SVN] r59294 - in grass/trunk/gui/wxpython: gui_core lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 23 05:05:34 PDT 2014


Author: martinl
Date: 2014-03-23 05:05:33 -0700 (Sun, 23 Mar 2014)
New Revision: 59294

Modified:
   grass/trunk/gui/wxpython/gui_core/ghelp.py
   grass/trunk/gui/wxpython/lmgr/frame.py
Log:
wxGUI: AboutWindow/AboutSystem - show build platform


Modified: grass/trunk/gui/wxpython/gui_core/ghelp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/ghelp.py	2014-03-23 12:04:43 UTC (rev 59293)
+++ grass/trunk/gui/wxpython/gui_core/ghelp.py	2014-03-23 12:05:33 UTC (rev 59294)
@@ -111,8 +111,11 @@
         infoSizer.Add(item = logoBitmap, proportion = 0,
                       flag = wx.ALL | wx.ALIGN_CENTER, border = 20)
         
+        infoLabel = 'GRASS GIS %s' % vInfo.get('version', _('unknown version'))
+        if '64' in vInfo.get('build_platform', ''):
+            infoLabel += ' (64bit)'
         info = wx.StaticText(parent = infoTxt, id = wx.ID_ANY,
-                             label = 'GRASS GIS ' + vInfo.get('version', _('unknown version')) + '\n')
+                             label = infoLabel + os.linesep)
         info.SetFont(wx.Font(13, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, ""))
         info.SetForegroundColour(wx.Colour(35, 142, 35))
         infoSizer.Add(item = info, proportion = 0,

Modified: grass/trunk/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/frame.py	2014-03-23 12:04:43 UTC (rev 59293)
+++ grass/trunk/gui/wxpython/lmgr/frame.py	2014-03-23 12:05:33 UTC (rev 59294)
@@ -996,6 +996,7 @@
         self._gconsole.WriteLog("%s: %s\n"
                                 "%s: %s\n"
                                 "%s: %s\n"
+                                "%s: %s\n"
                                 # "%s: %s (%s)\n"
                                 "GDAL/OGR: %s\n"
                                 "PROJ.4: %s\n"
@@ -1006,6 +1007,7 @@
                                 "%s: %s%s\n"% (_("GRASS version"), vInfo.get('version', _('unknown version')),
                                                _("GRASS SVN Revision"), vInfo.get('revision', '?'),
                                                _("Build Date"), vInfo.get('build_date', '?'),
+                                               _("Build Platform"), vInfo.get('build_platform', '?'),
                                                # _("GIS Library Revision"), vInfo.get('libgis_revision'], vInfo.get('libgis_date'].split(' ', 1)[0],
                                                vInfo.get('gdal', '?'), vInfo.get('proj4', '?'), vInfo.get('geos', '?'), vInfo.get('sqlite', '?'),
                                                platform.python_version(),



More information about the grass-commit mailing list