summaryrefslogtreecommitdiff
path: root/plugins/hotkeys/hotkeys.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-11-18 21:36:26 +0100
committerGravatar waker <wakeroid@gmail.com>2012-11-18 21:36:26 +0100
commitdae6ed6ac77ae5e98496189f3a7d70d883245156 (patch)
tree0b8ef079f2622bd93d72630c5cd693060507d5a1 /plugins/hotkeys/hotkeys.c
parent467b422e1b015a7b8bd94a03d61aa2a6843464a9 (diff)
hotkeys: jump to current
Diffstat (limited to 'plugins/hotkeys/hotkeys.c')
-rw-r--r--plugins/hotkeys/hotkeys.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/hotkeys/hotkeys.c b/plugins/hotkeys/hotkeys.c
index 451f1d4c..7ca57fe3 100644
--- a/plugins/hotkeys/hotkeys.c
+++ b/plugins/hotkeys/hotkeys.c
@@ -32,7 +32,7 @@
#define trace(fmt,...)
static DB_hotkeys_plugin_t plugin;
-static DB_functions_t *deadbeef;
+DB_functions_t *deadbeef;
static int finished;
static Display *disp;
static intptr_t loop_tid;
@@ -699,11 +699,11 @@ static DB_plugin_action_t action_reload_metadata = {
};
static DB_plugin_action_t action_jump_to_current = {
- .title = "Playback/[stub] Jump to currently playing track",
+ .title = "Playback/Jump to currently playing track",
.name = "jump_to_current_track",
.flags = DB_ACTION_COMMON,
- .callback = NULL,
- .next = NULL
+ .callback = action_jump_to_current_handler,
+ .next = &action_reload_metadata
};
static DB_plugin_action_t action_toggle_cursor_follows_playback = {