changeset 351:4cc0b3627f83

Use proper icon
author Neil Muller <drnlmuller@gmail.com>
date Sat, 05 Sep 2009 23:33:50 +0000
parents 55c907217267
children 79fe97f8e8f5
files gamelib/main.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gamelib/main.py	Sat Sep 05 23:31:26 2009 +0000
+++ b/gamelib/main.py	Sat Sep 05 23:33:50 2009 +0000
@@ -13,6 +13,7 @@
 #from engine import Engine, MainMenuState
 from sound import init_sound
 import constants
+import data
 
 def create_main_app(screen):
     """Create an app with a background widget."""
@@ -26,6 +27,8 @@
     """Main script."""
     init_sound()
     screen = pygame.display.set_mode(constants.SCREEN, SWSURFACE)
+    pygame.display.set_icon(pygame.image.load(
+        data.filepath('icons/foxassault24x24.png')))
     main_app = create_main_app(screen)
 
     from engine import Engine, MainMenuState