forked from openlp/openlp
fixed spaces around brackets to match style guidelines
This commit is contained in:
parent
8100a66622
commit
c14a4f4e8d
@ -211,7 +211,7 @@ class Ui_MainWindow(object):
|
|||||||
shortcuts=[QtGui.QKeySequence(u'Alt+F4')],
|
shortcuts=[QtGui.QKeySequence(u'Alt+F4')],
|
||||||
category=UiStrings().File, triggers=mainWindow.close)
|
category=UiStrings().File, triggers=mainWindow.close)
|
||||||
# Give QT Extra Hint that this is the Exit Menu Item
|
# Give QT Extra Hint that this is the Exit Menu Item
|
||||||
self.fileExitItem.setMenuRole( QtGui.QAction.QuitRole )
|
self.fileExitItem.setMenuRole(QtGui.QAction.QuitRole)
|
||||||
action_list.add_category(unicode(UiStrings().Import),
|
action_list.add_category(unicode(UiStrings().Import),
|
||||||
CategoryOrder.standardMenu)
|
CategoryOrder.standardMenu)
|
||||||
self.importThemeItem = create_action(mainWindow,
|
self.importThemeItem = create_action(mainWindow,
|
||||||
@ -307,7 +307,7 @@ class Ui_MainWindow(object):
|
|||||||
u'settingsConfigureItem', icon=u':/system/system_settings.png',
|
u'settingsConfigureItem', icon=u':/system/system_settings.png',
|
||||||
category=UiStrings().Settings)
|
category=UiStrings().Settings)
|
||||||
# Give QT Extra Hint that this is the Preferences Menu Item
|
# Give QT Extra Hint that this is the Preferences Menu Item
|
||||||
self.settingsConfigureItem.setMenuRole( QtGui.QAction.PreferencesRole )
|
self.settingsConfigureItem.setMenuRole(QtGui.QAction.PreferencesRole)
|
||||||
self.settingsImportItem = create_action(mainWindow,
|
self.settingsImportItem = create_action(mainWindow,
|
||||||
u'settingsImportItem', category=UiStrings().Settings)
|
u'settingsImportItem', category=UiStrings().Settings)
|
||||||
self.settingsExportItem = create_action(mainWindow,
|
self.settingsExportItem = create_action(mainWindow,
|
||||||
@ -319,7 +319,7 @@ class Ui_MainWindow(object):
|
|||||||
shortcuts=[QtGui.QKeySequence(u'Ctrl+F1')],
|
shortcuts=[QtGui.QKeySequence(u'Ctrl+F1')],
|
||||||
category=UiStrings().Help, triggers=self.onAboutItemClicked)
|
category=UiStrings().Help, triggers=self.onAboutItemClicked)
|
||||||
# Give QT Extra Hint that this is an About Menu Item
|
# Give QT Extra Hint that this is an About Menu Item
|
||||||
self.aboutItem.setMenuRole( QtGui.QAction.AboutRole )
|
self.aboutItem.setMenuRole(QtGui.QAction.AboutRole)
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
self.localHelpFile = os.path.join(
|
self.localHelpFile = os.path.join(
|
||||||
AppLocation.get_directory(AppLocation.AppDir), 'OpenLP.chm')
|
AppLocation.get_directory(AppLocation.AppDir), 'OpenLP.chm')
|
||||||
|
Loading…
Reference in New Issue
Block a user