From 5c7ca39ada083e74ba93549efe71c67c906d91bc Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 2 Sep 2013 14:17:09 +0100 Subject: Remove tree_url_node module. Had to disable treeview scanning in amiga and cocoa front ends. Amiga front end very likely broken. --- cocoa/BookmarksController.m | 3 ++- cocoa/utils.m | 10 ---------- 2 files changed, 2 insertions(+), 11 deletions(-) (limited to 'cocoa') diff --git a/cocoa/BookmarksController.m b/cocoa/BookmarksController.m index a2c5a45c3..7c1d80406 100644 --- a/cocoa/BookmarksController.m +++ b/cocoa/BookmarksController.m @@ -26,7 +26,6 @@ #import "desktop/browser_private.h" #import "desktop/hotlist_old.h" #import "desktop/tree.h" -#import "desktop/tree_url_node.h" #import "utils/messages.h" @interface BookmarksController () @@ -85,6 +84,7 @@ static const char *cocoa_hotlist_path( void ) - (void) menuNeedsUpdate: (NSMenu *)menu { +#if 0 for (NSMenuItem *item in [menu itemArray]) { if ([item hasSubmenu]) NSMapRemove( nodeForMenu, [item submenu] ); [menu removeItem: item]; @@ -125,6 +125,7 @@ static const char *cocoa_hotlist_path( void ) [item setAction: @selector( openBookmarkURL: )]; } } +#endif } - (IBAction) openBookmarkURL: (id) sender; diff --git a/cocoa/utils.m b/cocoa/utils.m index 0e10b9b6b..cd9313d34 100644 --- a/cocoa/utils.m +++ b/cocoa/utils.m @@ -19,7 +19,6 @@ #import #import "utils/utils.h" -#import "desktop/tree_url_node.h" #define UNIMPL() NSLog( @"Function '%s' unimplemented", __func__ ) @@ -55,12 +54,3 @@ bool path_add_part(char *path, int length, const char *newpart) return true; } - -void tree_icon_name_from_content_type(char *buffer, content_type type) -{ - switch (type) { - default: - strcpy( buffer, "content.png" ); - break; - } -} \ No newline at end of file -- cgit v1.2.3