remove accelarators/mnemonics from non-top-level menu items

59cced2bc6 (commitcomment-22310331)
This commit is contained in:
Paul Franklin 2017-06-03 13:43:45 -07:00
parent 736f10875f
commit f276507fb8

View File

@ -598,24 +598,24 @@ class ViewManager(CLIManager):
('Clipboard', 'edit-paste', _('Clip_board'), "<PRIMARY>b",
_("Open the Clipboard dialog"), self.clipboard),
('AddMenu', None, _('_Add')),
('AddNewMenu', None, _('_New')),
('PersonAdd', None, _('_Person'), "<Alt>p", None,
('AddNewMenu', None, _('New')),
('PersonAdd', None, _('Person'), "<Alt>p", None,
self.add_new_person),
('FamilyAdd', None, _('Famil_y'), "<Alt>y", None,
('FamilyAdd', None, _('Family'), "<Alt>y", None,
self.add_new_family),
('EventAdd', None, _('_Event'), "<shift>e", None,
('EventAdd', None, _('Event'), "<shift>e", None,
self.add_new_event),
('PlaceAdd', None, _('_Place'), "<shift><Alt>p", None,
('PlaceAdd', None, _('Place'), "<shift><Alt>p", None,
self.add_new_place),
('SourceAdd', None, _('_Source'), "<shift><Alt>s", None,
('SourceAdd', None, _('Source'), "<shift><Alt>s", None,
self.add_new_source),
('CitationAdd', None, _('_Citation'), "<shift><Alt>c", None,
('CitationAdd', None, _('Citation'), "<shift><Alt>c", None,
self.add_new_citation),
('RepositoryAdd', None, _('Repositor_y'), "<shift><Alt>y", None,
('RepositoryAdd', None, _('Repository'), "<shift><Alt>y", None,
self.add_new_repository),
('MediaAdd', None, _('_Media'), "<shift><Alt>m", None,
('MediaAdd', None, _('Media'), "<shift><Alt>m", None,
self.add_new_media),
('NoteAdd', None, _('_Note'), "<shift><Alt>n", None,
('NoteAdd', None, _('Note'), "<shift><Alt>n", None,
self.add_new_note),
#--------------------------------------
('Import', 'gramps-import', _('_Import...'), "<PRIMARY>i", None,