Mercurial > pyntnclick
diff pyntnclick/main.py @ 580:27809609eeca pyntnclick
Allow different image basedir.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sat, 11 Feb 2012 16:22:56 +0200 |
parents | 1b1ab71535bd |
children | 7e4a20eb78b8 |
line wrap: on
line diff
--- a/pyntnclick/main.py Sat Feb 11 16:21:20 2012 +0200 +++ b/pyntnclick/main.py Sat Feb 11 16:22:56 2012 +0200 @@ -104,9 +104,8 @@ self._debug_rects = opts.rects display = pygame.display.set_mode(self.constants.screen, SWSURFACE) - pygame.display.set_icon(pygame.image.load( - self.resource.get_resource_path('icons/suspended_sentence24x24' - '.png'))) + pygame.display.set_icon(self.resource.load_image( + 'suspended_sentence24x24.png', basedir='icons')) pygame.display.set_caption("Suspended Sentence") shell = MainShell(display, self.initial_state, self.constants.frame_rate)