Made a couple of fixes to the bible plugin.

bzr-revno: 160
This commit is contained in:
Raoul Snyman 2008-12-01 20:25:47 +00:00
parent a27b216387
commit ae9a770899
3 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE UserProject SYSTEM "UserProject-4.0.dtd"> <!DOCTYPE UserProject SYSTEM "UserProject-4.0.dtd">
<!-- eric4 user project file for project openlp.org 2.0 --> <!-- eric4 user project file for project openlp.org 2.0 -->
<!-- Saved: 2008-12-01, 21:49:55 --> <!-- Saved: 2008-12-01, 22:23:24 -->
<!-- Copyright (C) 2008 Raoul Snyman, raoulsnyman@openlp.org --> <!-- Copyright (C) 2008 Raoul Snyman, raoulsnyman@openlp.org -->
<UserProject version="4.0"> <UserProject version="4.0">
</UserProject> </UserProject>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Tasks SYSTEM "Tasks-4.2.dtd"> <!DOCTYPE Tasks SYSTEM "Tasks-4.2.dtd">
<!-- eric4 tasks file for project openlp.org 2.0 --> <!-- eric4 tasks file for project openlp.org 2.0 -->
<!-- Saved: 2008-12-01, 21:49:55 --> <!-- Saved: 2008-12-01, 22:23:24 -->
<Tasks version="4.2"> <Tasks version="4.2">
<Task priority="1" completed="False" bugfix="False"> <Task priority="1" completed="False" bugfix="False">
<Summary>TODO: what is the tags for bridge, pre-chorus?</Summary> <Summary>TODO: what is the tags for bridge, pre-chorus?</Summary>

View File

@ -22,8 +22,8 @@ from PyQt4 import QtCore, QtGui
from openlp.core.resources import * from openlp.core.resources import *
from openlp.core.lib import Plugin, MediaManagerItem from openlp.core.lib import Plugin, MediaManagerItem
#from bibleManager import BibleManager from bibleManager import BibleManager
#from forms.bibleimportform import BibleImportForm from forms.bibleimportform import BibleImportForm
class BiblePlugin(Plugin): class BiblePlugin(Plugin):
def __init__(self): def __init__(self):
@ -44,10 +44,10 @@ class BiblePlugin(Plugin):
self.MediaManagerItem.addToolbar() self.MediaManagerItem.addToolbar()
# Create buttons for the toolbar # Create buttons for the toolbar
## New Bible Button ## ## New Bible Button ##
#self.MediaManagerItem.addToolbarButton('New Bible', 'Register a new Bible', self.MediaManagerItem.addToolbarButton('New Bible', 'Register a new Bible',
# ':/bibles/bible_new.png', self.onBibleNewClick, 'BibleNewItem') ':/bibles/bible_new.png', self.onBibleNewClick, 'BibleNewItem')
## Separator Line ## ## Separator Line ##
#self.MediaManagerItem.addToolbarSeparator() self.MediaManagerItem.addToolbarSeparator()
## Preview Bible Button ## ## Preview Bible Button ##
self.MediaManagerItem.addToolbarButton('Preview Bible', 'Preview the selected Bible Verse', self.MediaManagerItem.addToolbarButton('Preview Bible', 'Preview the selected Bible Verse',
':/system/system_preview.png', self.onBiblePreviewClick, 'BiblePreviewItem') ':/system/system_preview.png', self.onBiblePreviewClick, 'BiblePreviewItem')
@ -67,7 +67,7 @@ class BiblePlugin(Plugin):
return self.MediaManagerItem return self.MediaManagerItem
def onBibleNewClick(self): def onBibleNewClick(self):
#self.bibleimportform(self.biblemanager) #self.bibleimportform = BibleImportForm(self.biblemanager)
pass pass
def onBiblePreviewClick(self): def onBiblePreviewClick(self):