From 52937b97633c92526efa9546d377a484ea91d7ab Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 27 Aug 2013 13:46:36 +0100 Subject: Update new hotlist --- desktop/hotlist_old.c | 7 +++++++ 1 file changed, 7 insertions(+) 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 #include +#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); } -- cgit v1.2.3