Fix bug #1128376 (Configure shortcuts has two items called settings)

bzr-revno: 2135
Fixes: https://launchpad.net/bugs/1128376
This commit is contained in:
Andreas Preikschat 2013-02-20 08:24:42 +02:00 committed by Raoul Snyman
commit 2991c3199f

View File

@ -310,9 +310,9 @@ class Ui_MainWindow(object):
# 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().Import)
self.settingsExportItem = create_action(mainWindow, self.settingsExportItem = create_action(mainWindow,
u'settingsExportItem', category=UiStrings().Settings) u'settingsExportItem', category=UiStrings().Export)
action_list.add_category(unicode(UiStrings().Help), action_list.add_category(unicode(UiStrings().Help),
CategoryOrder.standardMenu) CategoryOrder.standardMenu)
self.aboutItem = create_action(mainWindow, u'aboutItem', self.aboutItem = create_action(mainWindow, u'aboutItem',