forked from openlp/openlp
Tweaked a couple of = signs
This commit is contained in:
parent
16716372f0
commit
322d19265a
@ -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):
|
||||
|
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user