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/global_history.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/global_history.c')
-rw-r--r-- | desktop/global_history.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/desktop/global_history.c b/desktop/global_history.c index d20eb37e1..449fdccbf 100644 --- a/desktop/global_history.c +++ b/desktop/global_history.c @@ -966,3 +966,17 @@ int global_history_get_height(void) return treeview_get_height(gh_ctx.tree); } + +/* Exported interface, documented in global_history.h */ +nserror global_history_expand(bool only_folders) +{ + return treeview_expand(gh_ctx.tree, only_folders); +} + + +/* Exported interface, documented in global_history.h */ +nserror global_history_contract(bool all) +{ + return treeview_contract(gh_ctx.tree, all); +} + |