Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Document.py
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-02-01 01:57:04 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-02-01 01:57:04 (GMT)
commit4af506e8a79b598541387fbfe92d0cfbfc1c0c08 (patch)
treeeab0ba1f11b0419ee8d8584c57023aa9d9ab57ad /Document.py
parente02b2e586759e2582c5f361d3e81d703a44d6d23 (diff)
play button
Diffstat (limited to 'Document.py')
-rw-r--r--Document.py5
1 files changed, 4 insertions, 1 deletions
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'])