HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
740e13b
)
(make_menubar): Turn off menu accelerator.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 1 Aug 1996 22:25:36 +0000
(22:25 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 1 Aug 1996 22:25:36 +0000
(22:25 +0000)
lwlib/lwlib-Xm.c
patch
|
blob
|
blame
|
history
diff --git
a/lwlib/lwlib-Xm.c
b/lwlib/lwlib-Xm.c
index
7909bac
..
c5da97f
100644
(file)
--- a/
lwlib/lwlib-Xm.c
+++ b/
lwlib/lwlib-Xm.c
@@
-1267,11
+1267,19
@@
xm_create_dialog (instance)
return widget;
}
+/* Create a menu bar. We turn off the f10 key
+ because we have not yet managed to make it work right in Motif. */
+
static Widget
make_menubar (instance)
widget_instance* instance;
{
- return XmCreateMenuBar (instance->parent, instance->info->name, NULL, 0);
+ Arg al[1];
+ int ac;
+
+ ac = 0;
+ XtSetArg(al[0], XmNmenuAccelerator, 0);
+ return XmCreateMenuBar (instance->parent, instance->info->name, al, 1);
}
static void