diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2011-11-15 13:22:02 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2011-11-15 13:22:02 +0000 |
commit | 101693fd3047fb64e766580e80635a424fa25c4d (patch) | |
tree | 80f5664710a6e84b73f33e22c1b8632c13c5a727 /apps/tree.c | |
parent | e7e4b131d06f748400b5299d4d1ebfb38f9f08bf (diff) | |
download | rockbox-101693fd3047fb64e766580e80635a424fa25c4d.tar.gz rockbox-101693fd3047fb64e766580e80635a424fa25c4d.zip |
FS#12251 - User shortcuts in the main menu.
Custom shortcuts which give the user fast access to regularly used files/folders/settings/whatever.
Thanks to Alexander Levin for the manual part of the patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30990 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c index eb7783d4ee..3ba54bdfc6 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -1000,7 +1000,10 @@ int rockbox_browse(struct browse_context *browse) | |||
1000 | tc.browse = browse; | 1000 | tc.browse = browse; |
1001 | strcpy(current, browse->root); | 1001 | strcpy(current, browse->root); |
1002 | set_current_file(current); | 1002 | set_current_file(current); |
1003 | ret_val = dirbrowse(); | 1003 | if (browse->flags&BROWSE_RUNFILE) |
1004 | ret_val = ft_enter(&tc); | ||
1005 | else | ||
1006 | ret_val = dirbrowse(); | ||
1004 | } | 1007 | } |
1005 | backup_count--; | 1008 | backup_count--; |
1006 | if (backup_count >= 0) | 1009 | if (backup_count >= 0) |