summaryrefslogtreecommitdiff
path: root/desktop/global_history.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/global_history.c')
-rw-r--r--desktop/global_history.c14
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);
+}
+