6am spelling fix

This commit is contained in:
Tim Bentley 2011-07-01 17:59:56 +01:00
parent bddf91ddcb
commit 219218161b
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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',