Parcourir la 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 il y a 11 ans
Parent
commit
8481ec30ce
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      gui/wxpython/gis_set.py

+ 4 - 1
gui/wxpython/gis_set.py

@@ -86,7 +86,10 @@ class GRASSStartup(wx.Frame):
         #
         # 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))