X11: Attach translations also to menuform

Without this, the keyboard commands don't work in the extended
command window on Linux. If the translations are removed from
menuformview, then the keyboard commands don't work on Mac.

Having the translations in both doesn't seem to hurt.
This commit is contained in:
Pasi Kallinen
2016-01-28 19:44:29 +02:00
parent 09ebe44ae9
commit a309e076e0

View File

@@ -953,6 +953,8 @@ Widget *formp; /* return */
args, num_args);
num_args = 0;
XtSetArg(args[num_args], XtNtranslations,
XtParseTranslationTable(popup_translations)); num_args++;
*formp = form = XtCreateManagedWidget("menuform", formWidgetClass, view,
args, num_args);