summaryrefslogtreecommitdiff
path: root/amiga
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 /amiga
parent11b784a16772bc396ccca60acac6402f88a82ca7 (diff)
downloadnetsurf-f2b4a7a997b8fc952ab96cadb68477ee5d5a434a.tar.gz
netsurf-f2b4a7a997b8fc952ab96cadb68477ee5d5a434a.tar.bz2
Port to new recursive expand/contract functions.
Diffstat (limited to 'amiga')
-rw-r--r--amiga/tree.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/amiga/tree.c b/amiga/tree.c
index 15a771157..d5ae88591 100644
--- a/amiga/tree.c
+++ b/amiga/tree.c
@@ -1013,13 +1013,13 @@ BOOL ami_tree_event(struct treeview_window *twin)
switch(twin->type)
{
case AMI_TREE_HISTORY:
- history_global_expand_all();
+ global_history_expand(false);
break;
case AMI_TREE_COOKIES:
- cookies_expand_all();
+ cookie_manager_expand(false);
break;
case AMI_TREE_HOTLIST:
- hotlist_old_expand_all();
+ hotlist_expand(false);
break;
}
break;
@@ -1028,13 +1028,13 @@ BOOL ami_tree_event(struct treeview_window *twin)
switch(twin->type)
{
case AMI_TREE_HISTORY:
- history_global_expand_directories();
+ global_history_expand(true);
break;
case AMI_TREE_COOKIES:
- cookies_expand_domains();
+ cookie_manager_expand(true);
break;
case AMI_TREE_HOTLIST:
- hotlist_old_expand_directories();
+ hotlist_expand(true);
break;
}
break;
@@ -1043,13 +1043,13 @@ BOOL ami_tree_event(struct treeview_window *twin)
switch(twin->type)
{
case AMI_TREE_HISTORY:
- history_global_expand_addresses();
+ global_history_expand(false);
break;
case AMI_TREE_COOKIES:
- cookies_expand_cookies();
+ cookie_manager_expand(false);
break;
case AMI_TREE_HOTLIST:
- hotlist_old_expand_addresses();
+ hotlist_expand(false);
break;
}
break;
@@ -1063,13 +1063,13 @@ BOOL ami_tree_event(struct treeview_window *twin)
switch(twin->type)
{
case AMI_TREE_HISTORY:
- history_global_collapse_all();
+ global_history_contract(true);
break;
case AMI_TREE_COOKIES:
- cookies_collapse_all();
+ cookie_manager_contract(true);
break;
case AMI_TREE_HOTLIST:
- hotlist_old_collapse_all();
+ hotlist_contract(true);
break;
}
break;
@@ -1078,13 +1078,13 @@ BOOL ami_tree_event(struct treeview_window *twin)
switch(twin->type)
{
case AMI_TREE_HISTORY:
- history_global_collapse_directories();
+ global_history_contract(true);
break;
case AMI_TREE_COOKIES:
- cookies_collapse_domains();
+ cookie_manager_contract(true);
break;
case AMI_TREE_HOTLIST:
- hotlist_old_collapse_directories();
+ hotlist_contract(true);
break;
}
break;
@@ -1093,13 +1093,13 @@ BOOL ami_tree_event(struct treeview_window *twin)
switch(twin->type)
{
case AMI_TREE_HISTORY:
- history_global_collapse_addresses();
+ global_history_contract(false);
break;
case AMI_TREE_COOKIES:
- cookies_collapse_cookies();
+ cookie_manager_contract(false);
break;
case AMI_TREE_HOTLIST:
- hotlist_old_collapse_addresses();
+ hotlist_contract(false);
break;
}
break;