diff options
author | Jens Arnold <amiconn@rockbox.org> | 2004-10-02 12:10:16 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2004-10-02 12:10:16 +0000 |
commit | fb56ee6113b173c58b223921bc43f75c5c341b93 (patch) | |
tree | 7c5a54a284b0fa0e2aff4552a12b01e052d594ae | |
parent | e26f01b80e4740cd943e54619c43a7a7d7f0d2c0 (diff) |
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
-rw-r--r-- | apps/main.c | 7 | ||||
-rw-r--r-- | 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); |