From fb56ee6113b173c58b223921bc43f75c5c341b93 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 2 Oct 2004 12:10:16 +0000 Subject: [PATCH] Moved Ondio main menu hack in order to properly browse fonts, langs, rocks and .wps files. This does only work after filetype_init() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5151 a1c6a512-1295-4272-9138-f99709370657 --- apps/main.c | 7 ------- apps/tree.c | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/main.c b/apps/main.c index cfdb8d8b77..01202a9184 100644 --- a/apps/main.c +++ b/apps/main.c @@ -258,13 +258,6 @@ void init(void) } } #endif /* #ifdef AUTOROCK */ - -/* temporary hack for Ondio */ -#ifdef HAVE_MMC - main_menu(); /* show the main menu once, since it is not yet callable - * from the browser. The button handling needs a fix. */ -#endif -/* end of Ondio hack */ } int main(void) diff --git a/apps/tree.c b/apps/tree.c index 1ffbaa47fe..a8eb0fcdd1 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -140,6 +140,13 @@ void browse_root(void) filetype_init(); check_rockboxdir(); +/* temporary hack for Ondio */ +#ifdef HAVE_MMC + main_menu(); /* show the main menu once, since it is not yet callable + * from the browser. The button handling needs a fix. */ +#endif +/* end of Ondio hack */ + #ifndef SIMULATOR dirbrowse("/", &global_settings.dirfilter);