summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-08-27 13:46:36 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-08-27 13:46:36 +0100
commit52937b97633c92526efa9546d377a484ea91d7ab (patch)
tree3429bc4fdb5f5aebf649a2f7e1752e9919820917 /desktop
parentfd1a94a751cb4225f93528a5c8b32e0a2bd11aa5 (diff)
downloadnetsurf-52937b97633c92526efa9546d377a484ea91d7ab.tar.gz
netsurf-52937b97633c92526efa9546d377a484ea91d7ab.tar.bz2
Update new hotlist
Diffstat (limited to 'desktop')
-rw-r--r--desktop/hotlist_old.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/hotlist_old.c b/desktop/hotlist_old.c
index bee38d3b4..d48f6f6e8 100644
--- a/desktop/hotlist_old.c
+++ b/desktop/hotlist_old.c
@@ -20,10 +20,12 @@
#include <ctype.h>
#include <stdlib.h>
+#include "utils/nsoption.h"
#include "content/content.h"
#include "content/hlcache.h"
#include "content/urldb.h"
#include "desktop/browser.h"
+#include "desktop/hotlist.h"
#include "desktop/hotlist_old.h"
#include "desktop/plotters.h"
#include "desktop/tree.h"
@@ -463,6 +465,11 @@ void hotlist_old_add_page(const char *url)
node = tree_create_URL_node(hotlist_old_tree, parent, nsurl, NULL,
hotlist_old_node_callback, NULL);
tree_update_URL_node(hotlist_old_tree, node, nsurl, data);
+
+ /* Update new hotlist */
+ if (nsoption_bool(temp_treeview_test) != false)
+ hotlist_add_url(nsurl);
+
nsurl_unref(nsurl);
}