[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-XBoard] [bug #43112] XBoard*form.translations doesn't work anym
From: |
H.G. Muller |
Subject: |
Re: [Bug-XBoard] [bug #43112] XBoard*form.translations doesn't work anymore |
Date: |
Tue, 09 Sep 2014 10:33:42 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
OK, I figured it out!
The problem has nothing to do with the ICS box popup, but with
switching to XBoard's generic dialog creator for popping up the
board window, and the modification I made in that to allow
multiple panes (for the benefit of the Engine Output window).
This led to the widget that used to be called 'form', containing
everything that was in the dialog window, now being present
in multiple instances, called paneA, paneB etc.
So for any definitions in .Xdefaults to be applied to the XBoard
main window, it has no longer to be referred to as XBoard*form,
but as XBoard*paneA. So the correct contents of .Xdefaults
should be:
XBoard*paneA.translations: \
<Key>d: MenuItem(Action.Draw) \n \
<Key>r: MenuItem(Action.Resign) \n \
<Key>q: MenuItem(File.Quit) \n
I tested this with binding <Key>t to View.FlipView, and this
worked. (After I figured out one has to give the command
"xrdb ~/.Xdefaults" to activate the definitions in it.
I will change the manual accordingly.