forked from openlp/openlp
show shortcuts in service item menu
bzr-revno: 1969
This commit is contained in:
commit
09faa0aac9
@ -298,17 +298,14 @@ class ServiceManager(QtGui.QWidget):
|
|||||||
self.timeAction = create_widget_action(self.menu,
|
self.timeAction = create_widget_action(self.menu,
|
||||||
text=translate('OpenLP.ServiceManager', '&Start Time'),
|
text=translate('OpenLP.ServiceManager', '&Start Time'),
|
||||||
icon=u':/media/media_time.png', triggers=self.onStartTimeForm)
|
icon=u':/media/media_time.png', triggers=self.onStartTimeForm)
|
||||||
self.deleteAction = create_widget_action(self.menu,
|
# Add already existing delete action to the menu.
|
||||||
text=translate('OpenLP.ServiceManager', '&Delete From Service'),
|
self.menu.addAction(self.serviceManagerList.delete)
|
||||||
icon=u':/general/general_delete.png',
|
|
||||||
triggers=self.onDeleteFromService)
|
|
||||||
self.menu.addSeparator()
|
self.menu.addSeparator()
|
||||||
self.previewAction = create_widget_action(self.menu,
|
self.previewAction = create_widget_action(self.menu,
|
||||||
text=translate('OpenLP.ServiceManager', 'Show &Preview'),
|
text=translate('OpenLP.ServiceManager', 'Show &Preview'),
|
||||||
icon=u':/general/general_preview.png', triggers=self.makePreview)
|
icon=u':/general/general_preview.png', triggers=self.makePreview)
|
||||||
self.liveAction = create_widget_action(self.menu,
|
# Add already existing make live action to the menu.
|
||||||
text=translate('OpenLP.ServiceManager', 'Show &Live'),
|
self.menu.addAction(self.serviceManagerList.makeLive)
|
||||||
icon=u':/general/general_live.png', triggers=self.makeLive)
|
|
||||||
self.menu.addSeparator()
|
self.menu.addSeparator()
|
||||||
self.themeMenu = QtGui.QMenu(
|
self.themeMenu = QtGui.QMenu(
|
||||||
translate('OpenLP.ServiceManager', '&Change Item Theme'))
|
translate('OpenLP.ServiceManager', '&Change Item Theme'))
|
||||||
|
Loading…
Reference in New Issue
Block a user