From 326662566943323c71aeb66f99b2be61225862cb Mon Sep 17 00:00:00 2001 From: Paul Culley Date: Sun, 21 Jan 2018 20:21:46 -0600 Subject: [PATCH] Main Window menu 'Add' keyboard Acellerators (Gramps50) (#530) * Fix Add menu Accelerators so they don't activate on Shift-'x' Fixes #10379 * Change Gramps 'Add' menu so 'New' is not used --- gramps/gui/viewmanager.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/gramps/gui/viewmanager.py b/gramps/gui/viewmanager.py index ab1177087..ac4151e40 100644 --- a/gramps/gui/viewmanager.py +++ b/gramps/gui/viewmanager.py @@ -136,8 +136,6 @@ UIDEFAULT = ''' - - @@ -150,7 +148,6 @@ UIDEFAULT = ''' - @@ -599,12 +596,12 @@ class ViewManager(CLIManager): ('Clipboard', 'edit-paste', _('Clip_board'), "b", _("Open the Clipboard dialog"), self.clipboard), ('AddMenu', None, _('_Add')), - ('AddNewMenu', None, _('New')), - ('PersonAdd', None, _('Person'), "p", None, + #('AddNewMenu', None, _('New')), + ('PersonAdd', None, _('Person'), "p", None, self.add_new_person), - ('FamilyAdd', None, _('Family'), "y", None, + ('FamilyAdd', None, _('Family'), "y", None, self.add_new_family), - ('EventAdd', None, _('Event'), "e", None, + ('EventAdd', None, _('Event'), "e", None, self.add_new_event), ('PlaceAdd', None, _('Place'), "p", None, self.add_new_place),