From 4ce2f6fd553fc9e1eb544eb7664a97c25f103bf4 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 2 Sep 2013 12:29:16 +0100 Subject: Update to use new hotlist and global history manager. --- desktop/browser.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'desktop/browser.c') diff --git a/desktop/browser.c b/desktop/browser.c index 42738db83..de0373507 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -1252,10 +1252,7 @@ static nserror browser_window_callback(hlcache_handle *c, content_get_type(c)); /* This is safe as we've just added the URL */ - if (nsoption_bool(temp_treeview_test) == false) - history_global_add(urldb_get_url(url)); - else - global_history_add(urldb_get_url(url)); + global_history_add(urldb_get_url(url)); } } @@ -1287,10 +1284,7 @@ static nserror browser_window_callback(hlcache_handle *c, browser_window_update_favicon(c, bw, NULL); history_update(bw->history, c); - if (nsoption_bool(temp_treeview_test) == false) - hotlist_old_visited(c); - else - hotlist_update_url(hlcache_handle_get_url(c)); + hotlist_update_url(hlcache_handle_get_url(c)); if (bw->refresh_interval != -1) schedule(bw->refresh_interval, -- cgit v1.2.3