diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-07-24 11:40:08 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-07-24 11:40:08 +0000 |
commit | cefcce0197b98be11575670aaca84357ec917b11 (patch) | |
tree | d31a24f7229df55aa974a8f5e5f2f5be01ea57db /desktop/hotlist.c | |
parent | f75b0fca4318a0dd29295e2cb1538760e1afdebf (diff) | |
download | netsurf-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/hotlist.c')
-rw-r--r-- | desktop/hotlist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/hotlist.c b/desktop/hotlist.c index acfef10cd..16e249ee1 100644 --- a/desktop/hotlist.c +++ b/desktop/hotlist.c @@ -179,7 +179,7 @@ bool hotlist_initialise(struct tree *tree, const char *hotlist_path, const char* hotlist_node_callback, NULL); tree_update_URL_node(hotlist_tree, node, hotlist_default_entries[hlst_loop].url, - url_data, false); + url_data); } } @@ -234,7 +234,7 @@ static void hotlist_visited_internal(hlcache_handle *content, struct node *node) text = tree_url_node_get_url(node); if (strcmp(text, url) == 0) { tree_update_URL_node(hotlist_tree, node, - url, NULL, false); + url, NULL); } } child = tree_node_get_child(node); @@ -423,7 +423,7 @@ void hotlist_add_page(const char *url) node = tree_create_URL_node(hotlist_tree, hotlist_tree_root, url, NULL, hotlist_node_callback, NULL); - tree_update_URL_node(hotlist_tree, node, url, data, false); + tree_update_URL_node(hotlist_tree, node, url, data); } /** |