summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2013-09-12 10:51:39 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2013-09-12 10:51:39 +0100
commit9af55136d0c899492f20466f8c96b3ba24302e68 (patch)
treecc88d69266ba69dc28bf189b917b266cbef01b0e /amiga
parent9c551589bd0a2214706e18ff80720875cf5b9860 (diff)
downloadnetsurf-9af55136d0c899492f20466f8c96b3ba24302e68.tar.gz
netsurf-9af55136d0c899492f20466f8c96b3ba24302e68.tar.bz2
Disable the treeview context menu for now, as it needs fixing.
Diffstat (limited to 'amiga')
-rw-r--r--amiga/context_menu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/amiga/context_menu.c b/amiga/context_menu.c
index 5a3da5566..27678dbc5 100644
--- a/amiga/context_menu.c
+++ b/amiga/context_menu.c
@@ -1029,6 +1029,7 @@ static uint32 ami_context_menu_hook(struct Hook *hook,Object *item,APTR reserved
void ami_context_menu_show_tree(struct tree *tree, struct Window *win, int type)
{
+#if 0
struct node *root = tree_get_root(tree);
struct node *sel_node = tree_get_selected_node(root);
bool has_selection = tree_node_has_selection(root);
@@ -1203,6 +1204,7 @@ void ami_context_menu_show_tree(struct tree *tree, struct Window *win, int type)
if(menu_content == true)
IDoMethod(ctxmenuobj, PM_OPEN, win);
+#endif
}
static uint32 ami_context_menu_hook_tree(struct Hook *hook, Object *item, APTR reserved)