summaryrefslogtreecommitdiff
path: root/plugins/hotkeys
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-11-24 13:30:22 +0100
committerGravatar waker <wakeroid@gmail.com>2012-11-24 13:30:22 +0100
commit5bfdd5e0c4021ff0dd3f5670bce335465350c3b3 (patch)
tree02d41e3cd653edce6f8eb45903d88d283c52407b /plugins/hotkeys
parent7bcde9ee91093fc791a246e3dd06bb2d4f499911 (diff)
gtkui: added loopmode hotkeys
Diffstat (limited to 'plugins/hotkeys')
-rw-r--r--plugins/hotkeys/hotkeys.c58
1 files changed, 1 insertions, 57 deletions
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 = {