Add screen to New Bible

change logging file

bzr-revno: 161
This commit is contained in:
Tim Bentley 2008-12-01 20:41:26 +00:00
parent ae9a770899
commit 80cd189dd6
2 changed files with 6 additions and 3 deletions

View File

@ -26,7 +26,7 @@ import logging
logging.basicConfig(level=logging.DEBUG, logging.basicConfig(level=logging.DEBUG,
format='%(asctime)s %(name)-12s %(levelname)-8s %(message)s', format='%(asctime)s %(name)-12s %(levelname)-8s %(message)s',
datefmt='%m-%d %H:%M', datefmt='%m-%d %H:%M',
filename='plugins.log', filename='openlp.log',
filemode='w') filemode='w')
from openlp.core.resources import * from openlp.core.resources import *

View File

@ -31,7 +31,8 @@ class BiblePlugin(Plugin):
Plugin.__init__(self, 'Bible', '1.9.0') Plugin.__init__(self, 'Bible', '1.9.0')
self.Weight = -9 self.Weight = -9
#Register the bible Manager #Register the bible Manager
#self.biblemanager = BibleManager() self.biblemanager = BibleManager()
def getMediaManagerItem(self): def getMediaManagerItem(self):
# Create the plugin icon # Create the plugin icon
@ -67,7 +68,9 @@ class BiblePlugin(Plugin):
return self.MediaManagerItem return self.MediaManagerItem
def onBibleNewClick(self): def onBibleNewClick(self):
#self.bibleimportform = BibleImportForm(self.biblemanager) self.bibleimportform = BibleImportForm(self.biblemanager)
self.bibleimportform.show()
pass pass
def onBiblePreviewClick(self): def onBiblePreviewClick(self):