diff --git a/openlp/core/lib/serviceitem.py b/openlp/core/lib/serviceitem.py index 2d7f542d6..b360ab13d 100644 --- a/openlp/core/lib/serviceitem.py +++ b/openlp/core/lib/serviceitem.py @@ -62,7 +62,7 @@ class ItemCapabilities(object): AddIfNewItem = 9 ProvidesOwnDisplay = 10 AllowsDetailedTitleDisplay = 11 - AllowsVarableStartTime = 12 + AllowsVariableStartTime = 12 class ServiceItem(object): @@ -447,4 +447,4 @@ class ServiceItem(object): elif not start and end: return end else: - return u'%s : %s' % (start, end) + return u'%s : %s' % (start, end) \ No newline at end of file diff --git a/openlp/core/ui/servicemanager.py b/openlp/core/ui/servicemanager.py index 4b896d301..56aa1bea1 100644 --- a/openlp/core/ui/servicemanager.py +++ b/openlp/core/ui/servicemanager.py @@ -618,7 +618,7 @@ class ServiceManager(QtGui.QWidget): if item.parent() is None: self.notesAction.setVisible(True) if serviceItem[u'service_item']\ - .is_capable(ItemCapabilities.AllowsVarableStartTime): + .is_capable(ItemCapabilities.AllowsVariableStartTime): self.timeAction.setVisible(True) self.themeMenu.menuAction().setVisible(False) if serviceItem[u'service_item'].is_text(): @@ -905,7 +905,7 @@ class ServiceManager(QtGui.QWidget): child.setText(0, text[:40]) child.setData(0, QtCore.Qt.UserRole, QtCore.QVariant(count)) if item[u'service_item'] \ - .is_capable(ItemCapabilities.AllowsVarableStartTime): + .is_capable(ItemCapabilities.AllowsVariableStartTime): tip = item[u'service_item'].get_media_time() if tip: child.setToolTip(0, tip) @@ -1256,4 +1256,4 @@ class ServiceManager(QtGui.QWidget): Print a Service Order Sheet. """ settingDialog = PrintServiceForm(self.mainwindow, self) - settingDialog.exec_() + settingDialog.exec_() \ No newline at end of file diff --git a/openlp/plugins/media/lib/mediaitem.py b/openlp/plugins/media/lib/mediaitem.py index 013d93009..9511fabee 100644 --- a/openlp/plugins/media/lib/mediaitem.py +++ b/openlp/plugins/media/lib/mediaitem.py @@ -143,7 +143,7 @@ class MediaMediaItem(MediaManagerItem): Receiver.send_message(u'openlp_process_events') service_item.media_length = self.mediaLength service_item.add_capability( - ItemCapabilities.AllowsVarableStartTime) + ItemCapabilities.AllowsVariableStartTime) service_item.add_from_command(path, name, frame) return True else: @@ -189,4 +189,4 @@ class MediaMediaItem(MediaManagerItem): if newState == Phonon.PlayingState: self.mediaState = newState self.mediaLength = self.mediaObject.totalTime()/1000 - self.mediaObject.stop() + self.mediaObject.stop() \ No newline at end of file