summaryrefslogtreecommitdiff
path: root/desktop/tree.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-11-27 20:07:26 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-11-27 20:07:26 +0000
commitd169eefe5963b27a6e64fdfcfa34f59e22a27342 (patch)
tree246d60706506150d05be48644873a8771c801641 /desktop/tree.h
parent714f07c48b31ddd5f87f0cef891fbba08164529d (diff)
downloadnetsurf-d169eefe5963b27a6e64fdfcfa34f59e22a27342.tar.gz
netsurf-d169eefe5963b27a6e64fdfcfa34f59e22a27342.tar.bz2
Allow new (blank) hotlist entries to be created in the currently-selected folder
(if there is one) as this gives the user more control where their additions are being created. Functionality can be enabled/disabled by passing true/false to hotlist_add_folder/hotlist_add_entry. svn path=/trunk/netsurf/; revision=13185
Diffstat (limited to 'desktop/tree.h')
-rw-r--r--desktop/tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/tree.h b/desktop/tree.h
index 1f3ee0c74..b0b7d2cc1 100644
--- a/desktop/tree.h
+++ b/desktop/tree.h
@@ -181,6 +181,7 @@ bool tree_set_default_folder_node(struct tree *tree, struct node *node);
void tree_clear_default_folder_node(struct tree *tree);
/* functions for traversing the tree */
+struct node *tree_node_get_parent(struct node *node);
struct node *tree_node_get_child(struct node *node);
struct node *tree_node_get_next(struct node *node);