1
0
Fork 0
forked from len0rd/rockbox

New feature: clean shutdown if you press OFF twice in the file browser, or select "Shut

off" in the main menu. Players only have the menu option, due to lack of keys.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4940 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2004-07-24 21:26:41 +00:00
parent 6b8d020876
commit 5b5003dcb1
9 changed files with 113 additions and 13 deletions

View file

@ -49,7 +49,7 @@
#ifdef HAVE_FMRADIO
#include "radio.h"
#endif
#include "misc.h"
#include "lang.h"
#ifdef HAVE_MAS3587F
@ -324,7 +324,7 @@ bool main_menu(void)
int i = 0;
/* main menu */
struct menu_item items[8];
struct menu_item items[9];
items[i].desc = ID2P(LANG_BOOKMARK_MENU);
items[i++].function = bookmark_menu;
@ -356,6 +356,9 @@ bool main_menu(void)
items[i].desc = ID2P(LANG_INFO);
items[i++].function = info_menu;
items[i].desc = ID2P(LANG_SHUTDOWN);
items[i++].function = clean_shutdown;
m=menu_init( items, i, NULL, NULL, NULL, NULL );
#ifdef HAVE_LCD_CHARCELLS
status_set_param(true);