Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/cardtable.py
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2007-07-28 10:10:04 (GMT)
committer Simon Schampijer <simon@schampijer.de>2007-07-28 10:10:04 (GMT)
commit4b4e99f99d257f279e02b87d4f41df66c2516c28 (patch)
treebd21232089075e187c3c1559982fa0a97794c9cd /cardtable.py
parent61c71370348cadc2c3ec3abda314b29bd8f14684 (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 'cardtable.py')
-rwxr-xr-xcardtable.py2
1 files changed, 1 insertions, 1 deletions
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 = {}