From cefcce0197b98be11575670aaca84357ec917b11 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 24 Jul 2011 11:40:08 +0000 Subject: Shared URL nodes in the treeview actually want to be readonly. They certainly have no business not copying transient data. svn path=/trunk/netsurf/; revision=12623 --- desktop/history_global_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop/history_global_core.c') diff --git a/desktop/history_global_core.c b/desktop/history_global_core.c index f06d79d8b..a73bd7c2b 100644 --- a/desktop/history_global_core.c +++ b/desktop/history_global_core.c @@ -146,7 +146,7 @@ static bool global_history_add_internal(const char *url, node = history_global_find(url); if (node != NULL) { tree_update_URL_node(global_history_tree, - node, url, data, true); + node, url, data); tree_delink_node(global_history_tree, node); tree_link_node(global_history_tree, parent, node, false); @@ -155,7 +155,7 @@ static bool global_history_add_internal(const char *url, } /* Add the node at the bottom */ - node = tree_create_URL_node_shared(global_history_tree, + node = tree_create_URL_node_readonly(global_history_tree, parent, url, data, tree_url_node_callback, NULL); -- cgit v1.2.3