[GRASS-SVN] r33947 - in grass/trunk/gui: images wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Oct 21 00:01:46 EDT 2008


Author: hamish
Date: 2008-10-21 00:01:45 -0400 (Tue, 21 Oct 2008)
New Revision: 33947

Removed:
   grass/trunk/gui/images/gintro.gif
Modified:
   grass/trunk/gui/images/Makefile
   grass/trunk/gui/wxpython/gis_set.py
Log:
replace GIF with PNG version now that TclTk GUIs are gone

Modified: grass/trunk/gui/images/Makefile
===================================================================
--- grass/trunk/gui/images/Makefile	2008-10-21 03:53:26 UTC (rev 33946)
+++ grass/trunk/gui/images/Makefile	2008-10-21 04:01:45 UTC (rev 33947)
@@ -5,5 +5,5 @@
 default:
 	if [ ! -d $(ETC)/gui ] ; then $(MKDIR) $(ETC)/gui ; fi
 	if [ ! -d $(ETC)/gui/images ] ; then $(MKDIR) $(ETC)/gui/images ; fi
-	$(INSTALL_DATA) gintro.gif $(ETC)/gui/images/gintro.gif
+	$(INSTALL_DATA) startup_banner.png $(ETC)/gui/images/startup_banner.png
 

Deleted: grass/trunk/gui/images/gintro.gif
===================================================================
(Binary files differ)

Modified: grass/trunk/gui/wxpython/gis_set.py
===================================================================
--- grass/trunk/gui/wxpython/gis_set.py	2008-10-21 03:53:26 UTC (rev 33946)
+++ grass/trunk/gui/wxpython/gis_set.py	2008-10-21 04:01:45 UTC (rev 33947)
@@ -65,10 +65,10 @@
         #
         # image
         try:
-            name = os.path.join(globalvar.ETCDIR, "gui", "images", "gintro.gif")
+            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_GIF))
+                                                     type=wx.BITMAP_TYPE_PNG))
         except:
             self.hbitmap = wx.StaticBitmap(self.panel, wx.ID_ANY, wx.EmptyBitmap(530,150))
 



More information about the grass-commit mailing list