diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-24 21:35:38 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-24 21:35:38 +0000 |
| commit | bdbb0ef4706aeb73ff2122f3864b6249e22e65b5 (patch) | |
| tree | ad4bc20b170cd977ef949000a919ceb36f9071b4 /apps | |
| parent | 5b5003dcb12b0fe22f497a62d3024f3cf7a10fd1 (diff) | |
| download | rockbox-bdbb0ef4706aeb73ff2122f3864b6249e22e65b5.zip rockbox-bdbb0ef4706aeb73ff2122f3864b6249e22e65b5.tar.gz rockbox-bdbb0ef4706aeb73ff2122f3864b6249e22e65b5.tar.bz2 rockbox-bdbb0ef4706aeb73ff2122f3864b6249e22e65b5.tar.xz | |
Replaced the poweroff confirmation string with a language ID, and removed the shutdown_screen() function for players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4941 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/screens.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/apps/screens.c b/apps/screens.c index c099822..ff39258 100644 --- a/apps/screens.c +++ b/apps/screens.c @@ -1092,6 +1092,7 @@ bool set_time_screen(char* string, struct tm *tm) } #endif +#ifdef HAVE_RECORDER_KEYPAD bool shutdown_screen(void) { int button; @@ -1099,21 +1100,14 @@ bool shutdown_screen(void) lcd_stop_scroll(); -#ifdef HAVE_LCD_CHARCELLS - splash(0, true, "Push STOP to shut off"); -#else - splash(0, true, "Push OFF to shut off"); -#endif + splash(0, true, str(LANG_CONFIRM_SHUTDOWN)); + while(!done) { button = button_get_w_tmo(HZ*2); switch(button) { -#ifdef HAVE_PLAYER_KEYPAD - case BUTTON_STOP: -#else case BUTTON_OFF: -#endif clean_shutdown(); break; @@ -1129,3 +1123,4 @@ bool shutdown_screen(void) } return false; } +#endif |