summaryrefslogtreecommitdiff
path: root/plugins/gtkui/gtkui.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-11-24 13:53:09 +0100
committerGravatar waker <wakeroid@gmail.com>2012-11-24 13:53:09 +0100
commit9afb563e52434f3901ba47552c628e527d1701df (patch)
treec500f764ee66b278a3dc1f5442d47398775cf7c2 /plugins/gtkui/gtkui.c
parent96fe746b8aadf6a6c22fe4d83ae4d1652e07473c (diff)
gtkui: added cycle play order hotkeys
Diffstat (limited to 'plugins/gtkui/gtkui.c')
-rw-r--r--plugins/gtkui/gtkui.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/gtkui/gtkui.c b/plugins/gtkui/gtkui.c
index 172b2759..61c3cafa 100644
--- a/plugins/gtkui/gtkui.c
+++ b/plugins/gtkui/gtkui.c
@@ -1413,12 +1413,20 @@ static DB_plugin_action_t action_playback_loop_all = {
.next = &action_playback_loop_single
};
+static DB_plugin_action_t action_playback_order_cycle = {
+ .title = "Playback/Cycle playback order",
+ .name = "order_cycle",
+ .flags = DB_ACTION_COMMON,
+ .callback = action_playback_order_cycle_handler,
+ .next = &action_playback_loop_all
+};
+
static DB_plugin_action_t action_playback_order_random = {
.title = "Playback/Playback order - Random",
.name = "order_random",
.flags = DB_ACTION_COMMON,
.callback = action_playback_order_random_handler,
- .next = &action_playback_loop_all
+ .next = &action_playback_order_cycle
};
static DB_plugin_action_t action_playback_order_shuffle_albums = {