From fd1a94a751cb4225f93528a5c8b32e0a2bd11aa5 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 27 Aug 2013 13:38:23 +0100 Subject: [PATCH] Update the new hotlist on visits. --- desktop/browser.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/desktop/browser.c b/desktop/browser.c index e890d96e7..42738db83 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -48,6 +48,7 @@ #include "desktop/global_history.h" #include "desktop/gui.h" #include "desktop/history_global_core.h" +#include "desktop/hotlist.h" #include "desktop/hotlist_old.h" #include "desktop/knockout.h" #include "desktop/local_history.h" @@ -1286,7 +1287,10 @@ static nserror browser_window_callback(hlcache_handle *c, browser_window_update_favicon(c, bw, NULL); history_update(bw->history, c); - hotlist_old_visited(c); + if (nsoption_bool(temp_treeview_test) == false) + hotlist_old_visited(c); + else + hotlist_update_url(hlcache_handle_get_url(c)); if (bw->refresh_interval != -1) schedule(bw->refresh_interval,