diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-09-02 14:17:09 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-09-02 14:17:09 +0100 |
commit | 5c7ca39ada083e74ba93549efe71c67c906d91bc (patch) | |
tree | c9254cc3fe6a0790215523654f66a8f366e97b3e /cocoa | |
parent | 28a948bd32bee735f571ae7f297adb69b289d8ba (diff) | |
download | netsurf-5c7ca39ada083e74ba93549efe71c67c906d91bc.tar.gz netsurf-5c7ca39ada083e74ba93549efe71c67c906d91bc.tar.bz2 |
Remove tree_url_node module. Had to disable treeview scanning in amiga and cocoa front ends. Amiga front end very likely broken.
Diffstat (limited to 'cocoa')
-rw-r--r-- | cocoa/BookmarksController.m | 3 | ||||
-rw-r--r-- | cocoa/utils.m | 10 |
2 files changed, 2 insertions, 11 deletions
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 <Cocoa/Cocoa.h> #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 |