hid/gtk: Replace hard-coded keynames translation-table
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcb |
In Progress
|
Wishlist
|
Unassigned |
Bug Description
I have thought about the keyname translation for the gtk gui. Today this table replaces special accelerator-keys of the gpcb-menu.res file to their gtk-name. (The affected keys are '=', '.', ':', '|', '/'. '[' and ']'.)
In my opinion it is not much more complicated for the user to use the gtk keynames in the gpcb-menu.res file. If he/she uses them, there will be no confusion if some keys are missing in the translation-table (e.g. '+' and '-' are missing, as noted in LP:699493) and others are supported (as the given above).
The appended patch removes the code for the translation-table and replaces the used keys in the gpcb-menu.res by the gtk keynames. This patch also adds a hint to the usage of accelerators and the location of the gdk-keynames file to the gpcb-menu.res file.
Changed in pcb: | |
assignee: | nobody → Felix Ruoff (felixruoff) |
tags: | added: accelerators |
Changed in geda-project: | |
importance: | Undecided → Wishlist |
status: | New → In Progress |
I'm not in favour of (read - won't apply unless strongly persuaded otherwise) any patch which causes a divergence in accepted syntax / semantics of the pcb-menu.res and gpcb-menu.res files, which this patch seems to create.