diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2006-04-09 23:21:13 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2006-04-09 23:21:13 +0000 |
commit | c09eb457df1962f5b014214874b2beffd69141a4 (patch) | |
tree | a7c30e8b57b1d8bdeb87127c8f1ba16e91bf3971 /riscos/menus.c | |
parent | e5e1b982d55636b409b194cf0488ebafe9c6d519 (diff) | |
download | netsurf-c09eb457df1962f5b014214874b2beffd69141a4.tar.gz netsurf-c09eb457df1962f5b014214874b2beffd69141a4.tar.bz2 |
Unify information databases
svn path=/trunk/netsurf/; revision=2519
Diffstat (limited to 'riscos/menus.c')
-rw-r--r-- | riscos/menus.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/riscos/menus.c b/riscos/menus.c index 12f6221ad..f44f88a27 100644 --- a/riscos/menus.c +++ b/riscos/menus.c @@ -20,6 +20,7 @@ #include "oslib/osgbpb.h" #include "oslib/territory.h" #include "oslib/wimp.h" +#include "netsurf/content/urldb.h" #include "netsurf/desktop/gui.h" #include "netsurf/desktop/history_core.h" #include "netsurf/render/box.h" @@ -1368,7 +1369,7 @@ bool ro_gui_menu_handle_action(wimp_w owner, menu_action action, struct node *node; os_error *error; char url[80]; - struct url_content *data; + const struct url_data *data; ro_gui_menu_get_window_details(owner, &g, &bw, &c, &t, &tree); @@ -1408,9 +1409,9 @@ bool ro_gui_menu_handle_action(wimp_w owner, menu_action action, case HOTLIST_ADD_URL: if ((!hotlist_tree) || (!c) || (!c->url)) return false; - data = url_store_find(c->url); + data = urldb_get_url_data(c->url); if (data) { - node = tree_create_URL_node(hotlist_tree->root, data, NULL); + node = tree_create_URL_node(hotlist_tree->root, c->url, data, NULL); if (node) { tree_redraw_area(hotlist_tree, node->box.x - NODE_INSTEP, 0, |