Tweaked a couple of = signs

This commit is contained in:
Martin Thompson 2009-06-25 21:01:02 +01:00
parent 16716372f0
commit 322d19265a
2 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@ from openlp.core.lib import translate
class BaseListWithDnD(QtGui.QListView):
def __init__(self,parent=None):
def __init__(self,parent = None):
QtGui.QListView.__init__(self,parent)
assert (self.PluginName) # this must be set by the class which is inheriting
def mouseMoveEvent(self, event):

View File

@ -43,13 +43,13 @@ class ImageMediaItem(MediaManagerItem):
def __init__(self, parent, icon, title):
self.TranslationContext = u'ImagePlugin'
self.PluginTextShort =u'Image'
self.ConfigSection=u'images'
self.OnNewPrompt=u'Select Image(s)'
self.OnNewFileMasks=u'Images (*.jpg *jpeg *.gif *.png *.bmp)'
self.PluginTextShort = u'Image'
self.ConfigSection = u'images'
self.OnNewPrompt = u'Select Image(s)'
self.OnNewFileMasks = u'Images (*.jpg *jpeg *.gif *.png *.bmp)'
# this next is a class, not an instance of a class - it will
# be instanced by the base MediaManagerItem
self.ListViewWithDnD_class=ImageListView
self.ListViewWithDnD_class = ImageListView
MediaManagerItem.__init__(self, parent, icon, title)