From 5bfdd5e0c4021ff0dd3f5670bce335465350c3b3 Mon Sep 17 00:00:00 2001 From: waker Date: Sat, 24 Nov 2012 13:30:22 +0100 Subject: gtkui: added loopmode hotkeys --- plugins/hotkeys/hotkeys.c | 58 +---------------------------------------------- 1 file changed, 1 insertion(+), 57 deletions(-) (limited to 'plugins/hotkeys') diff --git a/plugins/hotkeys/hotkeys.c b/plugins/hotkeys/hotkeys.c index 5f8bb8c2..ce6cd079 100644 --- a/plugins/hotkeys/hotkeys.c +++ b/plugins/hotkeys/hotkeys.c @@ -711,68 +711,12 @@ static DB_plugin_action_t action_jump_to_current = { .next = &action_reload_metadata }; -static DB_plugin_action_t action_playback_loop_off = { - .title = "Playback/[stub] Playback looping - Don't loop", - .name = "loop_off", - .flags = DB_ACTION_COMMON, - .callback = NULL, - .next = &action_jump_to_current -}; - -static DB_plugin_action_t action_playback_loop_single = { - .title = "Playback/[stub] Playback looping - Single track", - .name = "loop_track", - .flags = DB_ACTION_COMMON, - .callback = NULL, - .next = &action_playback_loop_off -}; - -static DB_plugin_action_t action_playback_loop_all = { - .title = "Playback/[stub] Playback looping - All", - .name = "loop_all", - .flags = DB_ACTION_COMMON, - .callback = NULL, - .next = &action_playback_loop_single -}; - -static DB_plugin_action_t action_playback_order_random = { - .title = "Playback/[stub] Playback order - Random", - .name = "order_random", - .flags = DB_ACTION_COMMON, - .callback = NULL, - .next = &action_playback_loop_all -}; - -static DB_plugin_action_t action_playback_order_shuffle_albums = { - .title = "Playback/[stub] Playback order - Shuffle albums", - .name = "order_shuffle_albums", - .flags = DB_ACTION_COMMON, - .callback = NULL, - .next = &action_playback_order_random -}; - -static DB_plugin_action_t action_playback_order_shuffle = { - .title = "Playback/[stub] Playback order - Shuffle tracks", - .name = "order_shuffle", - .flags = DB_ACTION_COMMON, - .callback = NULL, - .next = &action_playback_order_shuffle_albums -}; - -static DB_plugin_action_t action_playback_order_linear = { - .title = "Playback/[stub] Playback order - Linear", - .name = "order_linear", - .flags = DB_ACTION_COMMON, - .callback = NULL, - .next = &action_playback_order_shuffle -}; - static DB_plugin_action_t action_next_playlist = { .title = "Edit/[stub] Next playlist", .name = "sort_next_playlist", .flags = DB_ACTION_COMMON, .callback = NULL, - .next = &action_playback_order_linear + .next = &action_jump_to_current }; static DB_plugin_action_t action_prev_playlist = { -- cgit v1.2.3