diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2021-10-21 23:36:09 +0200 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2021-12-08 22:26:38 -0500 |
commit | 7e0e4fe888eba8133a753bb2abc748b0c404e9f5 (patch) | |
tree | 81bb6a5aecb8a2dee19ff03bd649010d7da87d27 /apps/menus | |
parent | 5433ea540555f18d3986c5067c6f26ddf497bd9b (diff) | |
download | rockbox-7e0e4fe888eba8133a753bb2abc748b0c404e9f5.tar.gz rockbox-7e0e4fe888eba8133a753bb2abc748b0c404e9f5.zip |
Add setting to hide shutdown message
Also keeps display from lighting up before shutdown,
which reduces distractions, especially at night and
when the sleep timer is used by allowing the
screen to remain dark.
Change-Id: I1c2d1966f6fb9766532adf01e8828876a871857f
Diffstat (limited to 'apps/menus')
-rw-r--r-- | apps/menus/settings_menu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c index 1dce12907f..562a89e85a 100644 --- a/apps/menus/settings_menu.c +++ b/apps/menus/settings_menu.c | |||
@@ -563,9 +563,11 @@ MENUITEM_SETTING(sleeptimer_on_startup, | |||
563 | &global_settings.sleeptimer_on_startup, NULL); | 563 | &global_settings.sleeptimer_on_startup, NULL); |
564 | MENUITEM_SETTING(keypress_restarts_sleeptimer, | 564 | MENUITEM_SETTING(keypress_restarts_sleeptimer, |
565 | &global_settings.keypress_restarts_sleeptimer, NULL); | 565 | &global_settings.keypress_restarts_sleeptimer, NULL); |
566 | MENUITEM_SETTING(show_shutdown_message, &global_settings.show_shutdown_message, NULL); | ||
566 | 567 | ||
567 | MAKE_MENU(startup_shutdown_menu, ID2P(LANG_STARTUP_SHUTDOWN), | 568 | MAKE_MENU(startup_shutdown_menu, ID2P(LANG_STARTUP_SHUTDOWN), |
568 | 0, Icon_System_menu, | 569 | 0, Icon_System_menu, |
570 | &show_shutdown_message, | ||
569 | &start_screen, | 571 | &start_screen, |
570 | &poweroff, | 572 | &poweroff, |
571 | &sleeptimer_toggle, | 573 | &sleeptimer_toggle, |