diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-06-10 10:41:27 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-06-10 10:41:27 +0000 |
| commit | 2cda994431174ab809143761a3c72412acc54dc3 (patch) | |
| tree | 6788c583da17659f0db91a25afc2b0893ba8827c /apps/tree.c | |
| parent | 601ede7f9cc88cc40e074cc9d9cfdc2c0ba46d4c (diff) | |
| download | rockbox-2cda994431174ab809143761a3c72412acc54dc3.zip rockbox-2cda994431174ab809143761a3c72412acc54dc3.tar.gz rockbox-2cda994431174ab809143761a3c72412acc54dc3.tar.bz2 rockbox-2cda994431174ab809143761a3c72412acc54dc3.tar.xz | |
Move the root_menu() call out of tree.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13609 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
| -rw-r--r-- | apps/tree.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/tree.c b/apps/tree.c index 53aca47..1f76994 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -202,7 +202,8 @@ bool check_rockboxdir(void) return true; } -void browse_root(void) +/* do this really late in the init sequence */ +void tree_gui_init(void) { gui_sync_wps_screen_init(); @@ -222,8 +223,6 @@ void browse_root(void) #endif gui_synclist_init(&tree_lists, &tree_get_filename, &tc, false, 1); gui_synclist_set_icon_callback(&tree_lists, &tree_get_fileicon); - /* not the best place for this call... but... */ - root_menu(); } @@ -1078,7 +1077,7 @@ int rockbox_browse(const char *root, int dirfilter) return ret_val; } -void tree_init(void) +void tree_mem_init(void) { /* We copy the settings value in case it is changed by the user. We can't use it until the next reboot. */ |