On Tue, Aug 5, 2014 at 7:22 PM, Patrick O'Keeffe <pokee...@wsu.edu> wrote: > I'm not sure this is the same issue: #9227 is about the main menu > superceding non-modal dialogs. I was suggesting changing the binding > within the Insert menu so "Alt+I, x" opens the box submenu instead of > inserting a Tex code box (since Ctrl+L does that).
You're right, I see what you mean now. > I found a way to bind the raw command to a particular shortcut (Prefs > > Editing > Shortcuts > Cursor...Functions > box-insert) but inserting via > the menu allows me to choose which style of box. Here is a patch, I don't know what others think: diff --git a/lib/ui/stdmenus.inc b/lib/ui/stdmenus.inc index 32ed83e..d26456d 100644 --- a/lib/ui/stdmenus.inc +++ b/lib/ui/stdmenus.inc @@ -365,7 +365,7 @@ Menuset Submenu "Branch|B" "insert_branches" Submenu "Custom Insets" "insert_custom" Submenu "File|e" "insert_file" - Submenu "Box[[Menu]]" "insert_box" + Submenu "Box[[Menu]]|x" "insert_box" OptSubmenu "Insert Regular Expression" "context-edit-regexp" Separator Item "Citation...|C" "dialog-show-new-inset citation" @@ -382,7 +382,7 @@ Menuset Item "Footnote|F" "footnote-insert" Item "Marginal Note|M" "marginalnote-insert" Arguments - Item "TeX Code|X" "ert-insert" + Item "TeX Code" "ert-insert" Item "Program Listing[[Menu]]" "listing-insert" Item "Date" "date-insert" Item "Preview|w" "preview-insert" -- [If this can be customized, I haven't discovered how yet.] You can make your own menu file and put it in your user directory. I think this is discussed in Help > Customization. Scott