The attached patch adds configurable hotkeys to the latest git master branch. I haven't tested it as current audacious versions don't work with GTK2, but it's based on patches that worked fine.
#2 Updated by anonymous password almost 9 years ago
The changes to ui_gtk.c remove hard-coded shortcuts (because they could conflict with users' choices and can be duplicated in configuration if the user so chooses) and allow text entry widgets to receive text-editing shortcuts at a higher priority than user-defined shortcuts.
#6 Updated by anonymous password almost 9 years ago
That's a direct consequence of needing to allow key_press_cb in audacious's libaudgui/list.c to disable GTK's 'spacebar activates the selected row in a gtktreeview' behavior. It checks if the focused widget is a list view, if the key is the spacebar, and if ctrl is not held; if all those are true, it considers the hotkey unhandled so that the treeview (rather than the window) can handle it to cancel that action.
#9 Updated by John Lindgren almost 9 years ago
Also, I did not notice any change in behavior when commenting out these lines, so I'm still not sure what they are meant to accomplish:
if ((event->keyval == ' ' && ! (event->state & GDK_CONTROL_MASK)) && GTK_IS_TREE_VIEW (gtk_window_get_focus ((GtkWindow *) widget))) return FALSE;