From c2375339a1556d687ce0ccc8bec633a8737f585e Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 3 Sep 2013 11:28:02 +0100 Subject: Add recursive expand/contract functions to hotlist, global history, and cookie manager modules. --- desktop/hotlist.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'desktop/hotlist.c') diff --git a/desktop/hotlist.c b/desktop/hotlist.c index ce9156308..2e71582dd 100644 --- a/desktop/hotlist.c +++ b/desktop/hotlist.c @@ -1423,3 +1423,17 @@ int hotlist_get_height(void) return treeview_get_height(hl_ctx.tree); } + +/* Exported interface, documented in hotlist.h */ +nserror hotlist_expand(bool only_folders) +{ + return treeview_expand(hl_ctx.tree, only_folders); +} + + +/* Exported interface, documented in hotlist.h */ +nserror hotlist_contract(bool all) +{ + return treeview_contract(hl_ctx.tree, all); +} + -- cgit v1.2.3