openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #01173
[Merge] lp:~raoul-snyman/openlp/biblefixes into lp:openlp
Raoul Snyman has proposed merging lp:~raoul-snyman/openlp/biblefixes into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
--
https://code.launchpad.net/~raoul-snyman/openlp/biblefixes/+merge/21316
Your team OpenLP Core is subscribed to branch lp:openlp.
=== modified file 'openlp/plugins/bibles/bibleplugin.py'
--- openlp/plugins/bibles/bibleplugin.py 2010-03-04 19:03:09 +0000
+++ openlp/plugins/bibles/bibleplugin.py 2010-03-13 22:39:15 +0000
@@ -93,7 +93,6 @@
'displayed on the screen during the service.')
return about_text
-
def can_delete_theme(self, theme):
if self.settings_tab.bible_theme == theme:
return False
=== modified file 'openlp/plugins/bibles/lib/manager.py'
--- openlp/plugins/bibles/lib/manager.py 2010-02-27 15:31:23 +0000
+++ openlp/plugins/bibles/lib/manager.py 2010-03-13 22:39:15 +0000
@@ -124,7 +124,8 @@
self.db_cache = {}
for filename in files:
name, extension = os.path.splitext(filename)
- self.db_cache[name] = BibleDB(self.parent, path=self.path, name=name, config=self.config)
+ self.db_cache[name] = BibleDB(self.parent, path=self.path,
+ name=name, config=self.config)
# look to see if lazy load bible exists and get create getter.
source = self.db_cache[name].get_meta(u'download source')
if source:
=== modified file 'openlp/plugins/bibles/lib/mediaitem.py'
--- openlp/plugins/bibles/lib/mediaitem.py 2010-02-27 15:31:23 +0000
+++ openlp/plugins/bibles/lib/mediaitem.py 2010-03-13 22:39:15 +0000
@@ -45,6 +45,7 @@
def resizeEvent(self, event):
self.parent.onListViewResize(event.size().width(), event.size().width())
+
class BibleMediaItem(MediaManagerItem):
"""
This is the custom media manager item for Bibles.
@@ -452,14 +453,14 @@
for item in items:
bitem = self.ListView.item(item.row())
reference = bitem.data(QtCore.Qt.UserRole).toPyObject()
- bible = unicode(reference[QtCore.QString('bible')])
- book = unicode(reference[QtCore.QString('book')])
- chapter = unicode(reference[QtCore.QString('chapter')])
- verse = unicode(reference[QtCore.QString('verse')])
- text = unicode(reference[QtCore.QString('text')])
- version = unicode(reference[QtCore.QString('version')])
- copyright = unicode(reference[QtCore.QString('copyright')])
- permission = unicode(reference[QtCore.QString('permission')])
+ bible = unicode(reference[QtCore.QString('bible')].toPyObject())
+ book = unicode(reference[QtCore.QString('book')].toPyObject())
+ chapter = unicode(reference[QtCore.QString('chapter')].toPyObject())
+ verse = unicode(reference[QtCore.QString('verse')].toPyObject())
+ text = unicode(reference[QtCore.QString('text')].toPyObject())
+ version = unicode(reference[QtCore.QString('version')].toPyObject())
+ copyright = unicode(reference[QtCore.QString('copyright')].toPyObject())
+ permission = unicode(reference[QtCore.QString('permission')].toPyObject())
if self.parent.settings_tab.display_style == 1:
verse_text = self.formatVerse(old_chapter, chapter, verse, u'(u', u')')
elif self.parent.settings_tab.display_style == 2:
@@ -563,7 +564,7 @@
permission = u''
else:
permission = permission.value
- for count, verse in enumerate(self.search_results):
+ for count, verse in enumerate(self.search_results):
bible_text = u' %s %d:%d (%s)' % \
(verse.book.name, verse.chapter, verse.verse, bible)
bible_verse = QtGui.QListWidgetItem(bible_text)
=== modified file 'openlp/plugins/bibles/lib/opensong.py'
--- openlp/plugins/bibles/lib/opensong.py 2010-02-09 12:20:16 +0000
+++ openlp/plugins/bibles/lib/opensong.py 2010-03-13 22:39:15 +0000
@@ -102,7 +102,7 @@
finally:
if file:
file.close()
- if self.stop_import:
+ if self.stop_import_flag:
self.wizard.incrementProgressBar(u'Import canceled!')
return False
else:
=== modified file 'resources/innosetup/OpenLP-2.0.iss'
--- resources/innosetup/OpenLP-2.0.iss 2010-03-12 23:10:21 +0000
+++ resources/innosetup/OpenLP-2.0.iss 2010-03-13 22:39:15 +0000
@@ -22,7 +22,7 @@
DefaultGroupName=OpenLP 2.0
AllowNoIcons=true
LicenseFile=LICENSE.txt
-OutputBaseFilename=OpenLP-1.9.0-bzr737-setup
+OutputBaseFilename=OpenLP-1.9.0-bzr739-setup
Compression=lzma
SolidCompression=true
SetupIconFile=C:\Program Files\Inno Setup 5\Examples\Setup.ico
Follow ups