diff options
author | Simon Schampijer <simon@schampijer.de> | 2007-07-28 10:10:04 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2007-07-28 10:10:04 (GMT) |
commit | 4b4e99f99d257f279e02b87d4f41df66c2516c28 (patch) | |
tree | bd21232089075e187c3c1559982fa0a97794c9cd /game.py | |
parent | 61c71370348cadc2c3ec3abda314b29bd8f14684 (diff) |
Removed absolute path of images and sounds
Removed absolute path for game icons and sounds
which was cauing problems when a game is shared between
an XO and a sugar-jhbuild emulator
Diffstat (limited to 'game.py')
-rwxr-xr-x | game.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -147,7 +147,7 @@ class MemorizeGame(gobject.GObject): if self.sound == 1: snd = self.model.grid[id].get('snd', None) if snd != None: - self.cs.perform('i 108 0.0 3.0 "%s" 1 0.9 0'%(snd)) + self.cs.perform('i 108 0.0 3.0 "%s" 1 0.9 0'%(os.path.join(os.path.dirname(__file__), snd))) _logger.debug('Audio: play sound=%s'%snd) # First card case |