From 4af506e8a79b598541387fbfe92d0cfbfc1c0c08 Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Sun, 01 Feb 2009 01:57:04 +0000 Subject: play button --- (limited to 'Document.py') diff --git a/Document.py b/Document.py index 6e8e7cf..a700f75 100644 --- a/Document.py +++ b/Document.py @@ -109,7 +109,10 @@ def load(filepath): if i >= Theme.TAPE_COUNT: continue if int(frame.attrib['preinstalled']): - Document.tape[i].orig = Theme.pixbuf(frame.attrib['filename']) + if frame.attrib['filename'] == Theme.EMPTY_FILENAME: + Document.tape[i].orig = Theme.EMPTY_ORIG + else: + Document.tape[i].orig = Theme.pixbuf(frame.attrib['filename']) Document.tape[i].filename = frame.attrib['filename'] else: pixbuf = loaded.get(frame.attrib['filename']) -- cgit v0.9.1