openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #00524
[Merge] lp:~trb143/openlp/audit into lp:openlp
Tim Bentley has proposed merging lp:~trb143/openlp/audit into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
Changes to hide plugins broke Bible rendering.
This fixes it.
--
https://code.launchpad.net/~trb143/openlp/audit/+merge/13121
Your team OpenLP Core is subscribed to branch lp:openlp.
=== modified file 'openlp/plugins/bibles/lib/mediaitem.py'
--- openlp/plugins/bibles/lib/mediaitem.py 2009-10-08 05:02:39 +0000
+++ openlp/plugins/bibles/lib/mediaitem.py 2009-10-09 12:55:21 +0000
@@ -345,20 +345,20 @@
verse = unicode(self.search_results[0].verse)
text = self.search_results[0].text
#Paragraph style force new line per verse
- if self.parent.bibles_tab.layout_style == 1:
+ if self.parent.settings_tab.layout_style == 1:
text = text + u'\n\n'
- if self.parent.bibles_tab.display_style == 1:
+ if self.parent.settings_tab.display_style == 1:
loc = self.formatVerse(old_chapter, chapter, verse, u'(u', u')')
- elif self.parent.bibles_tab.display_style == 2:
+ elif self.parent.settings_tab.display_style == 2:
loc = self.formatVerse(old_chapter, chapter, verse, u'{', u'}')
- elif self.parent.bibles_tab.display_style == 3:
+ elif self.parent.settings_tab.display_style == 3:
loc = self.formatVerse(old_chapter, chapter, verse, u'[', u']')
else:
loc = self.formatVerse(old_chapter, chapter, verse, u'', u'')
old_chapter = chapter
bible_text = bible_text + u' '+ loc + u' '+ text
#if we are verse per slide then create slide
- if self.parent.bibles_tab.layout_style == 0:
+ if self.parent.settings_tab.layout_style == 0:
raw_slides.append(bible_text)
bible_text = u''
service_item.title = book + u' ' + loc
@@ -368,12 +368,12 @@
raw_footer.index(footer)
except:
raw_footer.append(footer)
- if len(self.parent.bibles_tab.bible_theme) == 0:
+ if len(self.parent.settings_tab.bible_theme) == 0:
service_item.theme = None
else:
- service_item.theme = self.parent.bibles_tab.bible_theme
+ service_item.theme = self.parent.settings_tab.bible_theme
#if we are verse per slide we have already been added
- if self.parent.bibles_tab.layout_style != 0:
+ if self.parent.settings_tab.layout_style != 0:
raw_slides.append(bible_text)
for slide in raw_slides:
service_item.add_from_text(slide[:30], slide)
@@ -384,7 +384,7 @@
loc = opening
if old_chapter != chapter:
loc += chapter + u':'
- elif not self.parent.bibles_tab.show_new_chapters:
+ elif not self.parent.settings_tab.show_new_chapters:
loc += chapter + u':'
loc += verse
loc += closing
=== modified file 'openlp/plugins/songs/songsplugin.py'
Follow ups