forked from openlp/openlp
6am spelling fix
This commit is contained in:
parent
bddf91ddcb
commit
219218161b
@ -288,7 +288,7 @@ class MediaManagerItem(QtGui.QWidget):
|
|||||||
self.listView, u':/general/general_add.png',
|
self.listView, u':/general/general_add.png',
|
||||||
translate('OpenLP.MediaManagerItem',
|
translate('OpenLP.MediaManagerItem',
|
||||||
'&Add to selected Service Item'), self.onAddEditClick)
|
'&Add to selected Service Item'), self.onAddEditClick)
|
||||||
self.addCutomContextActions()
|
self.addCustomContextActions()
|
||||||
# Create the context menu and add all actions from the listView.
|
# Create the context menu and add all actions from the listView.
|
||||||
self.menu = QtGui.QMenu()
|
self.menu = QtGui.QMenu()
|
||||||
self.menu.addActions(self.listView.actions())
|
self.menu.addActions(self.listView.actions())
|
||||||
@ -302,7 +302,7 @@ class MediaManagerItem(QtGui.QWidget):
|
|||||||
QtCore.SIGNAL('customContextMenuRequested(QPoint)'),
|
QtCore.SIGNAL('customContextMenuRequested(QPoint)'),
|
||||||
self.contextMenu)
|
self.contextMenu)
|
||||||
|
|
||||||
def addCutomContextActions(self):
|
def addCustomContextActions(self):
|
||||||
"""
|
"""
|
||||||
Implement this method in your descendent media manager item to
|
Implement this method in your descendent media manager item to
|
||||||
add any context menu items. This method is called automatically.
|
add any context menu items. This method is called automatically.
|
||||||
|
@ -129,7 +129,7 @@ class SongMediaItem(MediaManagerItem):
|
|||||||
QtCore.SIGNAL(u'searchTypeChanged(int)'),
|
QtCore.SIGNAL(u'searchTypeChanged(int)'),
|
||||||
self.onSearchTextButtonClick)
|
self.onSearchTextButtonClick)
|
||||||
|
|
||||||
def addCutomContextActions(self):
|
def addCustomContextActions(self):
|
||||||
context_menu_separator(self.listView)
|
context_menu_separator(self.listView)
|
||||||
context_menu_action(
|
context_menu_action(
|
||||||
self.listView, u':/general/general_add.png',
|
self.listView, u':/general/general_add.png',
|
||||||
|
Loading…
Reference in New Issue
Block a user