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 /gtk/history.c | |
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 'gtk/history.c')
-rw-r--r-- | gtk/history.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/gtk/history.c b/gtk/history.c index bfdb90b35..c44373939 100644 --- a/gtk/history.c +++ b/gtk/history.c @@ -18,9 +18,10 @@ */ -#include "desktop/history_global_core.h" +#include "desktop/global_history.h" #include "desktop/plotters.h" #include "desktop/tree.h" +#include "desktop/textinput.h" #include "gtk/gui.h" #include "gtk/history.h" #include "gtk/plotters.h" @@ -184,7 +185,7 @@ MENUHANDLER(export) gchar *filename = gtk_file_chooser_get_filename( GTK_FILE_CHOOSER(save_dialog)); - history_global_export(filename); + global_history_export(filename, NULL); g_free(filename); } @@ -196,25 +197,26 @@ MENUHANDLER(export) /* edit menu */ MENUHANDLER(delete_selected) { - history_global_delete_selected(); + global_history_keypress(KEY_DELETE_LEFT); return TRUE; } MENUHANDLER(delete_all) { - history_global_delete_all(); + global_history_keypress(KEY_SELECT_ALL); + global_history_keypress(KEY_DELETE_LEFT); return TRUE; } MENUHANDLER(select_all) { - history_global_select_all(); + global_history_keypress(KEY_SELECT_ALL); return TRUE; } MENUHANDLER(clear_selection) { - history_global_clear_selection(); + global_history_keypress(KEY_CLEAR_SELECTION); return TRUE; } @@ -257,6 +259,6 @@ MENUHANDLER(collapse_addresses) MENUHANDLER(launch) { - history_global_launch_selected(true); + global_history_keypress(KEY_CR); return TRUE; } |