diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-09-03 11:28:02 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-09-03 11:28:02 +0100 |
commit | c2375339a1556d687ce0ccc8bec633a8737f585e (patch) | |
tree | 736b737a3b9366dd5b4d3f6f063980802517d352 /desktop/hotlist.c | |
parent | b56d684a312a39f6cfb93b3ef60d0df2feb9a017 (diff) | |
download | netsurf-c2375339a1556d687ce0ccc8bec633a8737f585e.tar.gz netsurf-c2375339a1556d687ce0ccc8bec633a8737f585e.tar.bz2 |
Add recursive expand/contract functions to hotlist, global history, and cookie manager modules.
Diffstat (limited to 'desktop/hotlist.c')
-rw-r--r-- | desktop/hotlist.c | 14 |
1 files changed, 14 insertions, 0 deletions
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); +} + |