rendered paste bodyIndex: apps/main_menu.c
===================================================================
RCS file: /cvsroot/rockbox/apps/main_menu.c,v
retrieving revision 1.159
diff -u -r1.159 main_menu.c
--- apps/main_menu.c 25 Oct 2006 10:17:53 -0000 1.159
+++ apps/main_menu.c 30 Oct 2006 19:22:54 -0000
@@ -367,7 +367,8 @@
return result;
}
-#ifdef HAVE_LCD_CHARCELLS
+#if (CONFIG_KEYPAD == PLAYER_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD) || \
+ (CONFIG_KEYPAD == IPOD_4G_PAD)
static bool do_shutdown(void)
{
sys_poweroff();
@@ -420,7 +421,8 @@
items[i].desc = ID2P(LANG_INFO);
items[i++].function = info_menu;
-#ifdef HAVE_LCD_CHARCELLS
+#if (CONFIG_KEYPAD == PLAYER_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD) || \
+ (CONFIG_KEYPAD == IPOD_4G_PAD)
items[i].desc = ID2P(LANG_SHUTDOWN);
items[i++].function = do_shutdown;
#endif