summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-08-05 12:14:07 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-08-05 12:14:07 +0000
commitef815729b6c2732a4ccc530402c4336a5a3e83b9 (patch)
tree399f3aec796764ae8fcf4bae3c6573e510becb82 /apps/tree.c
parentf8c6801fdd74b0d2a8d6143c455b61e33306a794 (diff)
downloadrockbox-ef815729b6c2732a4ccc530402c4336a5a3e83b9.tar.gz
rockbox-ef815729b6c2732a4ccc530402c4336a5a3e83b9.zip
Accept FS#7486 - shortcuts plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14191 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 5a4292d34c..9341f81421 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -454,8 +454,15 @@ void get_current_file(char* buffer, int buffer_len)
454 tc.dirlength ? e->name : ""); 454 tc.dirlength ? e->name : "");
455} 455}
456 456
457/* Allow apps to change our dirfilter directly (required for sub browsers)
458 if they're suddenly going to become a file browser for example */
459void set_dirfilter(int l_dirfilter)
460{
461 *tc.dirfilter = l_dirfilter;
462}
463
457/* Selects a file and update tree context properly */ 464/* Selects a file and update tree context properly */
458static void set_current_file(char *path) 465void set_current_file(char *path)
459{ 466{
460 char *name; 467 char *name;
461 int i; 468 int i;