summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2013-09-12 11:04:22 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2013-09-12 11:04:22 +0100
commit5b457faf5f1898b02b33f5ddcd3ddb7a2ca2e924 (patch)
tree4b4851db0c8b009d90209850e335eaa9dd64b64e
parent0e5667e28e1a31da06a797a93b72ecb1942d28b9 (diff)
downloadnetsurf-5b457faf5f1898b02b33f5ddcd3ddb7a2ca2e924.tar.gz
netsurf-5b457faf5f1898b02b33f5ddcd3ddb7a2ca2e924.tar.bz2
Remove some very useful drag stuff that doesn't seem to yet have an equivalalent in the new treeveiw
-rw-r--r--amiga/tree.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/amiga/tree.c b/amiga/tree.c
index 5aee2772d..532077352 100644
--- a/amiga/tree.c
+++ b/amiga/tree.c
@@ -272,7 +272,7 @@ void ami_tree_drag_icon_show(struct treeview_window *twin)
if((twin->type == AMI_TREE_COOKIES) ||
(twin->type == AMI_TREE_SSLCERT)) return; /* No permissable drag operations */
-
+#if 0
node = tree_get_selected_node(tree_get_root(twin->tree));
if(node && tree_node_is_folder(node))
@@ -294,6 +294,7 @@ void ami_tree_drag_icon_show(struct treeview_window *twin)
}
ami_drag_icon_show(twin->win, type);
}
+#endif
}
void ami_tree_drag_end(struct treeview_window *twin, int x, int y)
@@ -304,7 +305,7 @@ void ami_tree_drag_end(struct treeview_window *twin, int x, int y)
BOOL drag;
if(drag = ami_drag_in_progress()) ami_drag_icon_close(twin->win);
-
+#if 0
if(drag && (twin != ami_window_at_pointer(AMINS_TVWINDOW)))
{
selected_node = tree_get_selected_node(tree_get_root(twin->tree));
@@ -349,6 +350,7 @@ void ami_tree_drag_end(struct treeview_window *twin, int x, int y)
twin->drag_x, twin->drag_y); /* Keep the tree happy */
}
else
+#endif
{
if(tree_drag_status(twin->tree) == TREE_UNKNOWN_DRAG)
DisplayBeep(scrn);