display of (metacity's) accelerator in window-action-menu
Submitted by Mirco Müller
Link to original bug (#512649)
Description
The window-action-menu does not display any accelerators (e.g. Alt+F7 for move, metacity-default) in the menu it creates. This is a drawback and makes discovery of these key-bindings difficult for the user.
The supplied patch solves this. It allows to have accelerators be displayed if libwnck is compiled with "--enable-gconf". The gconf-keys read can easily be adjusted in the #defines.
A side-effect of this patch is that it will display accelerators for compiz, since compiz is properly using libwnck for the action-menu, which metacity does not right now. Since compiz defaults to metacitiy's keybindings this is a desired effect.
Furthermore it's now possible to change metacity to make use of wnck_action_menu_new() too.