From 2ecaca91f028fec8bae7b66ffb014f60afd7b34f Mon Sep 17 00:00:00 2001 From: Nick Peskett Date: Mon, 26 Dec 2011 08:26:38 +0000 Subject: New General Settings submenu: Startup/Shutdown A dedicated submenu for items which are run at startup, or initiate a shutdown. Currently containing: Start Screen, Idle Poweroff, Sleep Timer & Start Sleep Timer on Boot. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31435 a1c6a512-1295-4272-9138-f99709370657 --- apps/menus/time_menu.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'apps/menus/time_menu.c') diff --git a/apps/menus/time_menu.c b/apps/menus/time_menu.c index a793809800..1eb4bd68cc 100644 --- a/apps/menus/time_menu.c +++ b/apps/menus/time_menu.c @@ -28,10 +28,8 @@ #include "lang.h" #include "action.h" #include "settings.h" -#include "powermgmt.h" #include "menu.h" #include "misc.h" -#include "exported_menus.h" #include "keyboard.h" #include "talk.h" #include "time.h" @@ -136,8 +134,6 @@ MENUITEM_FUNCTION(alarm_wake_up_screen, 0, ID2P(LANG_ALARM_WAKEUP_SCREEN), #endif /* CONFIG_TUNER || defined(HAVE_RECORDING) */ #endif /* HAVE_RTC_ALARM */ -MENUITEM_SETTING(sleeptimer_on_startup, - &global_settings.sleeptimer_on_startup, NULL); void talk_timedate(void) { @@ -237,14 +233,14 @@ static int time_menu_callback(int action, MAKE_MENU(time_menu, ID2P(LANG_TIME_MENU), time_menu_callback, Icon_NOICON, - &time_set, &sleep_timer_call, + &time_set, #ifdef HAVE_RTC_ALARM &alarm_screen_call, #if defined(HAVE_RECORDING) || CONFIG_TUNER &alarm_wake_up_screen, #endif #endif - &sleeptimer_on_startup, &timeformat); + &timeformat); int time_screen(void* ignored) { -- cgit v1.2.3