From 4b4e99f99d257f279e02b87d4f41df66c2516c28 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Sat, 28 Jul 2007 10:10:04 +0000 Subject: 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 --- (limited to 'cardtable.py') diff --git a/cardtable.py b/cardtable.py index 11bf1b5..e61b6f0 100755 --- a/cardtable.py +++ b/cardtable.py @@ -78,7 +78,7 @@ class CardTable(gtk.EventBox): for card in self.cards_data: if card.get('img', None): - jpg = card['img'] + jpg = os.path.join(os.path.dirname(__file__), card['img']) else: jpg = None props = {} -- cgit v0.9.1