Update new hotlist

This commit is contained in:
Michael Drake 2013-08-27 13:46:36 +01:00
parent fd1a94a751
commit 52937b9763

View File

@ -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);
}