summaryrefslogtreecommitdiff
path: root/desktop/history_global_core.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-07-24 11:40:08 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-07-24 11:40:08 +0000
commitcefcce0197b98be11575670aaca84357ec917b11 (patch)
treed31a24f7229df55aa974a8f5e5f2f5be01ea57db /desktop/history_global_core.c
parentf75b0fca4318a0dd29295e2cb1538760e1afdebf (diff)
downloadnetsurf-cefcce0197b98be11575670aaca84357ec917b11.tar.gz
netsurf-cefcce0197b98be11575670aaca84357ec917b11.tar.bz2
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
Diffstat (limited to 'desktop/history_global_core.c')
-rw-r--r--desktop/history_global_core.c4
1 files changed, 2 insertions, 2 deletions
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);