Update the new hotlist on visits.

This commit is contained in:
Michael Drake 2013-08-27 13:38:23 +01:00
parent 4bf5ec0dad
commit fd1a94a751

View File

@ -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,