diff options
author | 2009-12-27 16:43:04 +0100 | |
---|---|---|
committer | 2009-12-27 16:43:04 +0100 | |
commit | 0b38c072a5e53d0af27a208a3b561034a2345506 (patch) | |
tree | b3243b4c607048774e647d898ca761cc6ed6cb5c /plugins/gtkui/gtkplaylist.c | |
parent | 1522d68ba866d47e0d9c12bc4df28d7e71407705 (diff) |
keyboard navigation in search window
Diffstat (limited to 'plugins/gtkui/gtkplaylist.c')
-rw-r--r-- | plugins/gtkui/gtkplaylist.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/gtkui/gtkplaylist.c b/plugins/gtkui/gtkplaylist.c index 4a112107..bf2a6e18 100644 --- a/plugins/gtkui/gtkplaylist.c +++ b/plugins/gtkui/gtkplaylist.c @@ -891,11 +891,7 @@ gtkpl_keypress (gtkplaylist_t *ps, int keyval, int state) { GtkWidget *range = ps->scrollbar; int prev = deadbeef->pl_get_cursor (ps->iterator); int newscroll = ps->scrollpos; - if (keyval == GDK_n) { - // button for that one is not in toolbar anymore, so handle it manually - deadbeef->sendmessage (M_PLAYRANDOM, 0, 0, 0); - } - else if (keyval == GDK_Down) { + if (keyval == GDK_Down) { int cursor = deadbeef->pl_get_cursor (ps->iterator); if (cursor < ps->get_count () - 1) { gtkpl_set_cursor (ps->iterator, cursor+1); |