forked from openlp/openlp
change empty lines
This commit is contained in:
parent
98140f3598
commit
6faf76ed5c
@ -151,6 +151,7 @@ class Plugin(QtCore.QObject):
|
||||
log.debug(u'Plugin %s initialised' % name)
|
||||
QtCore.QObject.__init__(self)
|
||||
self.name = name
|
||||
# TODO: Should we overwrite the plugins status so that third party plugins cannot be enabled by default?
|
||||
Settings.extendDefaultSettings(default_settings)
|
||||
self.textStrings = {}
|
||||
self.setPluginTextStrings()
|
||||
|
@ -40,6 +40,7 @@ from openlp.plugins.bibles.lib.mediaitem import BibleSearch
|
||||
from openlp.plugins.bibles.forms import BibleUpgradeForm
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__default_settings__ = {
|
||||
u'bibles/book name language': LanguageSelection.Bible,
|
||||
u'bibles/verse separator': u'',
|
||||
|
@ -44,6 +44,7 @@ __default_settings__ = {
|
||||
u'custom/status': PluginStatus.Inactive
|
||||
}
|
||||
|
||||
|
||||
class CustomPlugin(Plugin):
|
||||
"""
|
||||
This plugin enables the user to create, edit and display
|
||||
|
@ -35,12 +35,14 @@ from openlp.core.lib import Plugin, StringContent, build_icon, translate, Receiv
|
||||
from openlp.plugins.images.lib import ImageMediaItem, ImageTab
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__default_settings__ = {
|
||||
u'images/images count': 0,
|
||||
u'images/background color': u'#000000',
|
||||
u'images/status': PluginStatus.Inactive
|
||||
}
|
||||
|
||||
|
||||
class ImagePlugin(Plugin):
|
||||
log.info(u'Image Plugin loaded')
|
||||
|
||||
|
@ -35,6 +35,7 @@ from openlp.core.lib import Plugin, StringContent, build_icon, translate, Settin
|
||||
from openlp.plugins.media.lib import MediaMediaItem, MediaTab
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__default_settings__ = {
|
||||
u'media/override player': QtCore.Qt.Unchecked,
|
||||
u'media/media count': 0,
|
||||
@ -43,6 +44,7 @@ __default_settings__ = {
|
||||
u'media/players': u'webkit'
|
||||
}
|
||||
|
||||
|
||||
class MediaPlugin(Plugin):
|
||||
log.info(u'%s MediaPlugin loaded', __name__)
|
||||
|
||||
|
@ -41,12 +41,13 @@ from openlp.plugins.presentations.lib import PresentationController, \
|
||||
PresentationMediaItem, PresentationTab
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__default_settings__ = {
|
||||
u'presentations/Impress': 2,
|
||||
u'presentations/override app': QtCore.Qt.Unchecked,
|
||||
u'presentations/presentations count': 0,
|
||||
u'presentations/Powerpoint': 2,
|
||||
u'presentations/status': PluginStatus.Inactive, # Remove
|
||||
u'presentations/status': PluginStatus.Inactive,
|
||||
u'presentations/Powerpoint Viewer': 2
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user