Browse Source

Added ISIS-GRASS banner and condition to display it

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@57080 15284696-431f-4ddb-bdfa-cd5b030d7da7
Yann Chemin 11 years ago
parent
commit
8481ec30ce
1 changed files with 4 additions and 1 deletions
  1. 4 1
      gui/wxpython/gis_set.py

+ 4 - 1
gui/wxpython/gis_set.py

@@ -86,7 +86,10 @@ class GRASSStartup(wx.Frame):
         #
         #
         # image
         # image
         try:
         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,
             self.hbitmap = wx.StaticBitmap(self.panel, wx.ID_ANY,
                                            wx.Bitmap(name = name,
                                            wx.Bitmap(name = name,
                                                      type = wx.BITMAP_TYPE_PNG))
                                                      type = wx.BITMAP_TYPE_PNG))