3 source/menu.c | 10 ++++++++++
4 1 files changed, 10 insertions(+)
6 diff --quilt old/source/menu.c new/source/menu.c
9 @@ -1207,10 +1207,15 @@ Widget CreateMenuBar(Widget parent, Wind
11 ** Create the Shell menu
13 menuPane = window->shellMenuPane =
14 createMenu(menuBar, "shellMenu", "Shell", 0, &cascade, FULL);
15 + btn = createMenuItem(menuPane, "shellMenuCustomize", "Customize Shell Menu...", 'S',
16 + shellDefCB, window, FULL);
17 + XtVaSetValues(btn, XmNuserData, PERMANENT_MENU_ITEM, NULL);
18 + btn = createMenuSeparator(menuPane, "sep0", SHORT);
19 + XtVaSetValues(btn, XmNuserData, PERMANENT_MENU_ITEM, NULL);
20 btn = createMenuItem(menuPane, "executeCommand", "Execute Command...",
21 'E', doActionCB, "execute_command_dialog", SHORT);
22 XtVaSetValues(btn, XmNuserData, PERMANENT_MENU_ITEM, NULL);
23 btn = createMenuItem(menuPane, "executeCommandLine", "Execute Command Line",
24 'x', doActionCB, "execute_command_line", SHORT);
25 @@ -1231,10 +1236,15 @@ Widget CreateMenuBar(Widget parent, Wind
27 ** Create the Macro menu
29 menuPane = window->macroMenuPane =
30 createMenu(menuBar, "macroMenu", "Macro", 0, &cascade, FULL);
31 + btn = createMenuItem(menuPane, "macroMenuCustomize", "Customize Macro Menu...", 'M',
32 + macroDefCB, window, FULL);
33 + XtVaSetValues(btn, XmNuserData, PERMANENT_MENU_ITEM, NULL);
34 + btn = createMenuSeparator(menuPane, "sep0", SHORT);
35 + XtVaSetValues(btn, XmNuserData, PERMANENT_MENU_ITEM, NULL);
36 window->learnItem = createMenuItem(menuPane, "learnKeystrokes",
37 "Learn Keystrokes", 'L', learnCB, window, SHORT);
38 XtVaSetValues(window->learnItem , XmNuserData, PERMANENT_MENU_ITEM, NULL);
39 window->finishLearnItem = createMenuItem(menuPane, "finishLearn",
40 "Finish Learn", 'F', finishLearnCB, window, SHORT);