diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2012-03-28 00:38:30 +1100 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2012-03-28 10:56:12 +0200 |
commit | 6f622262948f42886a3f7e602a3b6aa2bb1c6e44 (patch) | |
tree | 471905bae06f6b514a97abd74d7dbcad1be1e043 /apps/gui | |
parent | 7ec426e497daa1b4a6082bf4e4e3df687b11db44 (diff) | |
download | rockbox-6f622262948f42886a3f7e602a3b6aa2bb1c6e44.tar.gz rockbox-6f622262948f42886a3f7e602a3b6aa2bb1c6e44.zip |
quickscreen: optionally display the shortcuts menu instead of the QS
Adds an option under settings > general settings > system to allow
the user to have the shortcuts menu displayed instead of the
quick screen. (option is "shortcuts instead of quickscreen" in the .cfg)
Change-Id: Id679b461c40ac617629422736d1509384364084d
Reviewed-on: http://gerrit.rockbox.org/199
Reviewed-by: Marek Salaba <marek.salaba@gmail.com>
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/quickscreen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/quickscreen.c b/apps/gui/quickscreen.c index acef2c32a0..965fe67a4c 100644 --- a/apps/gui/quickscreen.c +++ b/apps/gui/quickscreen.c | |||
@@ -38,6 +38,7 @@ | |||
38 | #include "list.h" | 38 | #include "list.h" |
39 | #include "option_select.h" | 39 | #include "option_select.h" |
40 | #include "debug.h" | 40 | #include "debug.h" |
41 | #include "shortcuts.h" | ||
41 | 42 | ||
42 | /* 1 top, 1 bottom, 2 on either side, 1 for the icons | 43 | /* 1 top, 1 bottom, 2 on either side, 1 for the icons |
43 | * if enough space, top and bottom have 2 lines */ | 44 | * if enough space, top and bottom have 2 lines */ |
@@ -391,6 +392,9 @@ bool quick_screen_quick(int button_enter) | |||
391 | bool oldshuffle = global_settings.playlist_shuffle; | 392 | bool oldshuffle = global_settings.playlist_shuffle; |
392 | int oldrepeat = global_settings.repeat_mode; | 393 | int oldrepeat = global_settings.repeat_mode; |
393 | 394 | ||
395 | if (global_settings.shortcuts_replaces_qs) | ||
396 | return do_shortcut_menu(NULL); | ||
397 | |||
394 | qs.items[QUICKSCREEN_TOP] = | 398 | qs.items[QUICKSCREEN_TOP] = |
395 | get_setting(global_settings.qs_items[QUICKSCREEN_TOP], NULL); | 399 | get_setting(global_settings.qs_items[QUICKSCREEN_TOP], NULL); |
396 | qs.items[QUICKSCREEN_LEFT] = | 400 | qs.items[QUICKSCREEN_LEFT] = |