From 3fca08e59e1e2a497c3ca4526a9f76233e51d2bf Mon Sep 17 00:00:00 2001 From: waker Date: Sat, 10 Nov 2012 14:56:59 +0100 Subject: hotkeys: fixed/updated few action stubs --- plugins/hotkeys/hotkeys.c | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) (limited to 'plugins/hotkeys/hotkeys.c') diff --git a/plugins/hotkeys/hotkeys.c b/plugins/hotkeys/hotkeys.c index 812dd356..0b533065 100644 --- a/plugins/hotkeys/hotkeys.c +++ b/plugins/hotkeys/hotkeys.c @@ -609,6 +609,14 @@ action_toggle_stop_after_current_cb (struct DB_plugin_action_s *action, int ctx) return 0; } +static DB_plugin_action_t action_reload_metadata = { + .title = "[stub] Reload metadata", + .name = "reload_metadata", + .flags = DB_ACTION_MULTIPLE_TRACKS, + .callback = NULL, + .next = NULL +}; + static DB_plugin_action_t action_jump_to_current = { .title = "Playback/[stub] Jump to currently playing track", .name = "jump_to_current_track", @@ -754,10 +762,10 @@ static DB_plugin_action_t action_crop_selected = { .next = &action_sort_by_title }; -static DB_plugin_action_t action_remove_selected = { - .title = "Edit/[stub] Remove Selected", - .name = "remove_selected", - .flags = DB_ACTION_COMMON, +static DB_plugin_action_t action_remove_from_playlist = { + .title = "[stub] Remove from playlist", + .name = "remove_from_playlist", + .flags = DB_ACTION_MULTIPLE_TRACKS, .callback = NULL, .next = &action_crop_selected }; @@ -767,7 +775,7 @@ static DB_plugin_action_t action_invert_selection = { .name = "invert_selection", .flags = DB_ACTION_COMMON, .callback = NULL, - .next = &action_remove_selected + .next = &action_remove_from_playlist }; static DB_plugin_action_t action_deselect_all = { @@ -834,12 +842,20 @@ static DB_plugin_action_t action_add_files = { .next = &action_add_folders }; +static DB_plugin_action_t action_remove_from_playqueue = { + .title = "Playback/[stub] Add To Playback Queue", + .name = "remove_from_playback_queue", + .flags = DB_ACTION_MULTIPLE_TRACKS, + .callback = NULL, + .next = &action_add_files +}; + static DB_plugin_action_t action_add_to_playqueue = { .title = "Playback/[stub] Add To Playback Queue", .name = "add_to_playback_queue", .flags = DB_ACTION_MULTIPLE_TRACKS, .callback = NULL, - .next = &action_add_files + .next = &action_remove_from_playqueue }; static DB_plugin_action_t action_toggle_mute = { -- cgit v1.2.3