moved some code

This commit is contained in:
Andreas Preikschat 2010-08-31 20:42:28 +02:00
commit 5e0625824f

View File

@ -507,8 +507,10 @@ class BibleMediaItem(MediaManagerItem):
footer = u'%s (%s %s)' % (book, version, copyright) footer = u'%s (%s %s)' % (book, version, copyright)
if footer not in raw_footer: if footer not in raw_footer:
raw_footer.append(footer) raw_footer.append(footer)
if has_dual_bible:
if dual_bible: if dual_bible:
footer = u'%s (%s %s)' % (book, dual_version, dual_copyright) footer = u'%s (%s %s)' % (book, dual_version,
dual_copyright)
if footer not in raw_footer: if footer not in raw_footer:
raw_footer.append(footer) raw_footer.append(footer)
# If there is an old bible_text we have to add it. # If there is an old bible_text we have to add it.
@ -519,8 +521,7 @@ class BibleMediaItem(MediaManagerItem):
verse_text, dual_text) verse_text, dual_text)
raw_slides.append(bible_text) raw_slides.append(bible_text)
bible_text = u'' bible_text = u''
elif has_dual_bible: elif self.parent.settings_tab.layout_style == 0:
if self.parent.settings_tab.layout_style == 0:
bible_text = u'%s %s' % (verse_text, text) bible_text = u'%s %s' % (verse_text, text)
raw_slides.append(bible_text) raw_slides.append(bible_text)
bible_text = u'' bible_text = u''