summaryrefslogtreecommitdiff
path: root/gtk/hotlist.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-09-02 22:41:04 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-09-02 22:41:04 +0100
commitcf8ffa412a55a8884fdd8f348b3fb28108d59b6c (patch)
treeff9a998daae20f16a3537d78bd141ea662863cf8 /gtk/hotlist.c
parente9f65ff9cb60c94b43d4b875892918b90fb2a067 (diff)
downloadnetsurf-cf8ffa412a55a8884fdd8f348b3fb28108d59b6c.tar.gz
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/hotlist.c')
-rw-r--r--gtk/hotlist.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk/hotlist.c b/gtk/hotlist.c
index 618d9d42f..9506ed74f 100644
--- a/gtk/hotlist.c
+++ b/gtk/hotlist.c
@@ -17,7 +17,7 @@
*/
-#include "desktop/hotlist_old.h"
+#include "desktop/hotlist.h"
#include "utils/nsoption.h"
#include "desktop/plotters.h"
#include "desktop/tree.h"
@@ -190,7 +190,7 @@ MENUHANDLER(export)
gchar *filename = gtk_file_chooser_get_filename(
GTK_FILE_CHOOSER(save_dialog));
- hotlist_old_export(filename);
+ hotlist_export(filename, NULL);
g_free(filename);
}
@@ -201,38 +201,38 @@ MENUHANDLER(export)
MENUHANDLER(new_folder)
{
- hotlist_old_add_folder(true);
+ hotlist_add_folder(NULL, false, 0);
return TRUE;
}
MENUHANDLER(new_entry)
{
- hotlist_old_add_entry(true);
+ hotlist_add_entry(NULL, NULL, false, 0);
return TRUE;
}
/* edit menu */
MENUHANDLER(edit_selected)
{
- hotlist_old_edit_selected();
+ hotlist_edit_selection();
return TRUE;
}
MENUHANDLER(delete_selected)
{
- hotlist_old_delete_selected();
+ hotlist_keypress(KEY_DELETE_LEFT);
return TRUE;
}
MENUHANDLER(select_all)
{
- hotlist_old_select_all();
+ hotlist_keypress(KEY_SELECT_ALL);
return TRUE;
}
MENUHANDLER(clear_selection)
{
- hotlist_old_clear_selection();
+ hotlist_keypress(KEY_CLEAR_SELECTION);
return TRUE;
}
@@ -275,6 +275,6 @@ MENUHANDLER(collapse_addresses)
MENUHANDLER(launch)
{
- hotlist_old_launch_selected(true);
+ hotlist_keypress(KEY_CR);
return TRUE;
}