diff options
author | Ben Loftis <ben@glw.com> | 2012-03-12 19:24:16 +0000 |
---|---|---|
committer | Ben Loftis <ben@glw.com> | 2012-03-12 19:24:16 +0000 |
commit | b4999fbc1408fa2fb49861e8b9d07fca5f7d65b3 (patch) | |
tree | ad948fd12521a4e24d8c33807dd10d04f669218b /gtk2_ardour/keyeditor.cc | |
parent | 1b19db251bdc1a5e8491530cbd633cd48d639b23 (diff) |
remove menu items from the keybindings dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@11654 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/keyeditor.cc')
-rw-r--r-- | gtk2_ardour/keyeditor.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gtk2_ardour/keyeditor.cc b/gtk2_ardour/keyeditor.cc index e3839c098b..efcff5b901 100644 --- a/gtk2_ardour/keyeditor.cc +++ b/gtk2_ardour/keyeditor.cc @@ -250,6 +250,20 @@ KeyEditor::populate () continue; } + //kinda kludgy way to avoid displaying menu items as mappable + if ( parts[1] == _("Main_menu") ) + continue; + if ( parts[1] == _("JACK") ) + continue; + if ( parts[1] == _("redirectmenu") ) + continue; + if ( parts[1] == _("Editor_menus") ) + continue; + if ( parts[1] == _("RegionList") ) + continue; + if ( parts[1] == _("ProcessorMenu") ) + continue; + if ((r = nodes.find (parts[1])) == nodes.end()) { /* top level is missing */ |