From 9af55136d0c899492f20466f8c96b3ba24302e68 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Thu, 12 Sep 2013 10:51:39 +0100 Subject: [PATCH] Disable the treeview context menu for now, as it needs fixing. --- amiga/context_menu.c | 2 ++ 1 file changed, 2 insertions(+) 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)