summaryrefslogtreecommitdiff
path: root/amiga/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/tree.c')
-rw-r--r--amiga/tree.c31
1 files changed, 16 insertions, 15 deletions
diff --git a/amiga/tree.c b/amiga/tree.c
index 9c7305dac..a8dda20b7 100644
--- a/amiga/tree.c
+++ b/amiga/tree.c
@@ -57,7 +57,8 @@
#include "content/urldb.h"
#include "desktop/cookies_old.h"
#include "desktop/history_global_core.h"
-#include "desktop/hotlist.h"
+#include "desktop/hotlist_old.h"
+#include "desktop/sslcert_viewer.h"
#include "desktop/tree_url_node.h"
#include "utils/utils.h"
#include "utils/messages.h"
@@ -339,7 +340,7 @@ void ami_tree_drag_end(struct treeview_window *twin, int x, int y)
else if((tw = ami_window_at_pointer(AMINS_TVWINDOW)) &&
(tw != twin) && (tw->type == AMI_TREE_HOTLIST))
{
- hotlist_add_page_xy(tree_url_node_get_url(selected_node), x, y);
+ hotlist_old_add_page_xy(tree_url_node_get_url(selected_node), x, y);
}
}
tree_drag_end(twin->tree, twin->mouse_state,
@@ -757,13 +758,13 @@ BOOL ami_tree_event(struct treeview_window *twin)
switch(result & WMHI_GADGETMASK)
{
case GID_OPEN:
- sslcert_accept(twin->ssl_data);
+ sslcert_viewer_accept(twin->ssl_data);
ami_tree_close(twin);
return TRUE;
break;
case GID_CANCEL:
- sslcert_reject(twin->ssl_data);
+ sslcert_viewer_reject(twin->ssl_data);
ami_tree_close(twin);
return TRUE;
break;
@@ -1013,7 +1014,7 @@ BOOL ami_tree_event(struct treeview_window *twin)
if(twin->type == AMI_TREE_HISTORY)
history_global_export(fname);
else if(twin->type == AMI_TREE_HOTLIST)
- hotlist_export(fname);
+ hotlist_old_export(fname);
ami_update_pointer(twin->win, GUI_POINTER_DEFAULT);
}
break;
@@ -1031,7 +1032,7 @@ BOOL ami_tree_event(struct treeview_window *twin)
cookies_expand_all();
break;
case AMI_TREE_HOTLIST:
- hotlist_expand_all();
+ hotlist_old_expand_all();
break;
}
break;
@@ -1046,7 +1047,7 @@ BOOL ami_tree_event(struct treeview_window *twin)
cookies_expand_domains();
break;
case AMI_TREE_HOTLIST:
- hotlist_expand_directories();
+ hotlist_old_expand_directories();
break;
}
break;
@@ -1061,7 +1062,7 @@ BOOL ami_tree_event(struct treeview_window *twin)
cookies_expand_cookies();
break;
case AMI_TREE_HOTLIST:
- hotlist_expand_addresses();
+ hotlist_old_expand_addresses();
break;
}
break;
@@ -1081,7 +1082,7 @@ BOOL ami_tree_event(struct treeview_window *twin)
cookies_collapse_all();
break;
case AMI_TREE_HOTLIST:
- hotlist_collapse_all();
+ hotlist_old_collapse_all();
break;
}
break;
@@ -1096,7 +1097,7 @@ BOOL ami_tree_event(struct treeview_window *twin)
cookies_collapse_domains();
break;
case AMI_TREE_HOTLIST:
- hotlist_collapse_directories();
+ hotlist_old_collapse_directories();
break;
}
break;
@@ -1111,7 +1112,7 @@ BOOL ami_tree_event(struct treeview_window *twin)
cookies_collapse_cookies();
break;
case AMI_TREE_HOTLIST:
- hotlist_collapse_addresses();
+ hotlist_old_collapse_addresses();
break;
}
break;
@@ -1162,7 +1163,7 @@ BOOL ami_tree_event(struct treeview_window *twin)
cookies_delete_selected();
break;
case AMI_TREE_HOTLIST:
- hotlist_delete_selected();
+ hotlist_old_delete_selected();
break;
}
ami_tree_update_buttons(twin);
@@ -1178,7 +1179,7 @@ BOOL ami_tree_event(struct treeview_window *twin)
cookies_select_all();
break;
case AMI_TREE_HOTLIST:
- hotlist_select_all();
+ hotlist_old_select_all();
break;
}
ami_tree_update_buttons(twin);
@@ -1194,7 +1195,7 @@ BOOL ami_tree_event(struct treeview_window *twin)
cookies_clear_selection();
break;
case AMI_TREE_HOTLIST:
- hotlist_clear_selection();
+ hotlist_old_clear_selection();
break;
}
ami_tree_update_buttons(twin);
@@ -1215,7 +1216,7 @@ BOOL ami_tree_event(struct treeview_window *twin)
case WMHI_CLOSEWINDOW:
if(twin->type == AMI_TREE_SSLCERT)
- sslcert_reject(twin->ssl_data);
+ sslcert_viewer_reject(twin->ssl_data);
ami_tree_close(twin);
return TRUE;
break;