summaryrefslogtreecommitdiff
path: root/gtk/history.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-09-03 12:36:55 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-09-03 12:36:55 +0100
commitf2b4a7a997b8fc952ab96cadb68477ee5d5a434a (patch)
tree0e4da8cb7fb0a3deb16b519096322e4911fdc7c3 /gtk/history.c
parent11b784a16772bc396ccca60acac6402f88a82ca7 (diff)
downloadnetsurf-f2b4a7a997b8fc952ab96cadb68477ee5d5a434a.tar.gz
netsurf-f2b4a7a997b8fc952ab96cadb68477ee5d5a434a.tar.bz2
Port to new recursive expand/contract functions.
Diffstat (limited to 'gtk/history.c')
-rw-r--r--gtk/history.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/history.c b/gtk/history.c
index c44373939..2cf1438d4 100644
--- a/gtk/history.c
+++ b/gtk/history.c
@@ -223,37 +223,37 @@ MENUHANDLER(clear_selection)
/* view menu*/
MENUHANDLER(expand_all)
{
- history_global_expand_all();
+ global_history_expand(false);
return TRUE;
}
MENUHANDLER(expand_directories)
{
- history_global_expand_directories();
+ global_history_expand(true);
return TRUE;
}
MENUHANDLER(expand_addresses)
{
- history_global_expand_addresses();
+ global_history_expand(false);
return TRUE;
}
MENUHANDLER(collapse_all)
{
- history_global_collapse_all();
+ global_history_contract(true);
return TRUE;
}
MENUHANDLER(collapse_directories)
{
- history_global_collapse_directories();
+ global_history_contract(true);
return TRUE;
}
MENUHANDLER(collapse_addresses)
{
- history_global_collapse_addresses();
+ global_history_contract(false);
return TRUE;
}