diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-09-02 22:41:04 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-09-02 22:41:04 +0100 |
commit | cf8ffa412a55a8884fdd8f348b3fb28108d59b6c (patch) | |
tree | ff9a998daae20f16a3537d78bd141ea662863cf8 /cocoa | |
parent | e9f65ff9cb60c94b43d4b875892918b90fb2a067 (diff) | |
download | netsurf-cf8ffa412a55a8884fdd8f348b3fb28108d59b6c.tar.gz netsurf-cf8ffa412a55a8884fdd8f348b3fb28108d59b6c.tar.bz2 |
Remove old hotlist, cookies, and history_global_core modules.
New versions of expand/collapse node functions for these modules aren't yet implemented.
Diffstat (limited to 'cocoa')
-rw-r--r-- | cocoa/BookmarksController.m | 13 | ||||
-rw-r--r-- | cocoa/HistoryWindowController.m | 2 |
2 files changed, 7 insertions, 8 deletions
diff --git a/cocoa/BookmarksController.m b/cocoa/BookmarksController.m index 035d950e1..9c20c544c 100644 --- a/cocoa/BookmarksController.m +++ b/cocoa/BookmarksController.m @@ -24,7 +24,7 @@ #import "cocoa/gui.h" #import "desktop/browser_private.h" -#import "desktop/hotlist_old.h" +#import "desktop/hotlist.h" #import "desktop/tree.h" #import "utils/messages.h" @@ -66,7 +66,7 @@ static const char *cocoa_hotlist_path( void ) - (void) save; { - hotlist_old_export( cocoa_hotlist_path() ); + hotlist_export( cocoa_hotlist_path(), NULL ); } - (void) dealloc; @@ -164,8 +164,7 @@ static const char *cocoa_hotlist_path( void ) { struct browser_window *bw = [[(NetSurfApp *)NSApp frontTab] browser]; if (bw && bw->current_content) { - const char *url = nsurl_access(hlcache_handle_get_url( bw->current_content )); - hotlist_old_add_page( url ); + hotlist_add_url( nsurl_access(hlcache_handle_get_url( bw->current_content )) ); } } @@ -198,17 +197,17 @@ static const char *cocoa_hotlist_path( void ) - (IBAction) editSelected: (id) sender; { - hotlist_old_edit_selected(); + hotlist_edit_selection(); } - (IBAction) deleteSelected: (id) sender; { - hotlist_old_delete_selected(); + hotlist_keypress(KEY_DELETE_LEFT); } - (IBAction) addFolder: (id) sender; { - hotlist_old_add_folder(true); + hotlist_add_folder(NULL, false, 0); } @end diff --git a/cocoa/HistoryWindowController.m b/cocoa/HistoryWindowController.m index d62f458b1..cae679b9d 100644 --- a/cocoa/HistoryWindowController.m +++ b/cocoa/HistoryWindowController.m @@ -20,7 +20,7 @@ #import "cocoa/Tree.h" #import "cocoa/TreeView.h" -#import "desktop/history_global_core.h" +#import "desktop/global_history.h" @implementation HistoryWindowController |