[GRASS-SVN] r29814 - grass/trunk/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 23 14:10:23 EST 2008
Author: martinl
Date: 2008-01-23 14:10:23 -0500 (Wed, 23 Jan 2008)
New Revision: 29814
Modified:
grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: Use local image for SplashScreen
Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py 2008-01-23 19:09:18 UTC (rev 29813)
+++ grass/trunk/gui/wxpython/wxgui.py 2008-01-23 19:10:23 UTC (rev 29814)
@@ -1258,8 +1258,8 @@
wx.InitAllImageHandlers()
# create splash screen
- introImagePath = os.path.join(os.getenv("GISBASE"), "etc", "gm", "intro.gif")
- introImage = wx.Image(introImagePath, wx.BITMAP_TYPE_GIF)
+ introImagePath = os.path.join(os.getenv("GISBASE"), "etc", "wx", "images", "intro.png")
+ introImage = wx.Image(introImagePath, wx.BITMAP_TYPE_PNG)
introBmp = introImage.ConvertToBitmap()
wx.SplashScreen (bitmap=introBmp, splashStyle=wx.SPLASH_CENTRE_ON_SCREEN | wx.SPLASH_TIMEOUT,
milliseconds=1500, parent=None, id=wx.ID_ANY)
More information about the grass-commit
mailing list