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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jul 13 09:03:26 PDT 2013


Author: ychemin
Date: 2013-07-13 09:03:26 -0700 (Sat, 13 Jul 2013)
New Revision: 57080

Modified:
   grass/trunk/gui/wxpython/gis_set.py
Log:
Added ISIS-GRASS banner and condition to display it

Modified: grass/trunk/gui/wxpython/gis_set.py
===================================================================
--- grass/trunk/gui/wxpython/gis_set.py	2013-07-13 15:49:10 UTC (rev 57079)
+++ grass/trunk/gui/wxpython/gis_set.py	2013-07-13 16:03:26 UTC (rev 57080)
@@ -86,7 +86,10 @@
         #
         # image
         try:
-            name = os.path.join(globalvar.ETCDIR, "gui", "images", "startup_banner.png")
+            if os.gentenv('ISISROOT'):
+                name = os.path.join(globalvar.ETCDIR, "gui", "images", "startup_banner_isis.png")
+            else:
+                name = os.path.join(globalvar.ETCDIR, "gui", "images", "startup_banner.png")
             self.hbitmap = wx.StaticBitmap(self.panel, wx.ID_ANY,
                                            wx.Bitmap(name = name,
                                                      type = wx.BITMAP_TYPE_PNG))



More information about the grass-commit mailing list