forked from openlp/openlp
Made a couple of fixes to the bible plugin.
bzr-revno: 160
This commit is contained in:
parent
a27b216387
commit
ae9a770899
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE UserProject SYSTEM "UserProject-4.0.dtd">
|
||||
<!-- 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 -->
|
||||
<UserProject version="4.0">
|
||||
</UserProject>
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE Tasks SYSTEM "Tasks-4.2.dtd">
|
||||
<!-- 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">
|
||||
<Task priority="1" completed="False" bugfix="False">
|
||||
<Summary>TODO: what is the tags for bridge, pre-chorus?</Summary>
|
||||
|
@ -22,8 +22,8 @@ from PyQt4 import QtCore, QtGui
|
||||
from openlp.core.resources import *
|
||||
from openlp.core.lib import Plugin, MediaManagerItem
|
||||
|
||||
#from bibleManager import BibleManager
|
||||
#from forms.bibleimportform import BibleImportForm
|
||||
from bibleManager import BibleManager
|
||||
from forms.bibleimportform import BibleImportForm
|
||||
|
||||
class BiblePlugin(Plugin):
|
||||
def __init__(self):
|
||||
@ -44,10 +44,10 @@ class BiblePlugin(Plugin):
|
||||
self.MediaManagerItem.addToolbar()
|
||||
# Create buttons for the toolbar
|
||||
## New Bible Button ##
|
||||
#self.MediaManagerItem.addToolbarButton('New Bible', 'Register a new Bible',
|
||||
# ':/bibles/bible_new.png', self.onBibleNewClick, 'BibleNewItem')
|
||||
self.MediaManagerItem.addToolbarButton('New Bible', 'Register a new Bible',
|
||||
':/bibles/bible_new.png', self.onBibleNewClick, 'BibleNewItem')
|
||||
## Separator Line ##
|
||||
#self.MediaManagerItem.addToolbarSeparator()
|
||||
self.MediaManagerItem.addToolbarSeparator()
|
||||
## Preview Bible Button ##
|
||||
self.MediaManagerItem.addToolbarButton('Preview Bible', 'Preview the selected Bible Verse',
|
||||
':/system/system_preview.png', self.onBiblePreviewClick, 'BiblePreviewItem')
|
||||
@ -67,7 +67,7 @@ class BiblePlugin(Plugin):
|
||||
return self.MediaManagerItem
|
||||
|
||||
def onBibleNewClick(self):
|
||||
#self.bibleimportform(self.biblemanager)
|
||||
#self.bibleimportform = BibleImportForm(self.biblemanager)
|
||||
pass
|
||||
|
||||
def onBiblePreviewClick(self):
|
||||
|
Loading…
Reference in New Issue
Block a user