From 58cd1423383babef4a59e25f3e9f6a950d2fa6dc Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 17 Mar 2009 12:26:41 +0000 Subject: Remember the scroll position in the history, so that it's maintained when going back. (credit: Paweł Blokus) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/netsurf/; revision=6793 --- desktop/browser.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'desktop/browser.h') diff --git a/desktop/browser.h b/desktop/browser.h index 3db08c325..ef9a3b061 100644 --- a/desktop/browser.h +++ b/desktop/browser.h @@ -80,7 +80,7 @@ struct browser_window { /** Busy indicator is active. */ bool throbbing; /** Add loading_content to the window history when it loads. */ - bool history_add; + bool add_to_history; /** Fragment identifier for current_content. */ char *frag_id; @@ -214,16 +214,16 @@ extern bool browser_reformat_pending; struct browser_window * browser_window_create(const char *url, struct browser_window *clone, const char *referrer, - bool history_add, bool new_tab); + bool add_to_history, bool new_tab); void browser_window_initialise_common(struct browser_window *bw, struct browser_window *clone); void browser_window_go(struct browser_window *bw, const char *url, - const char *referrer, bool history_add); + const char *referrer, bool add_to_history); void browser_window_go_unverifiable(struct browser_window *bw, - const char *url, const char *referrer, bool history_add); + const char *url, const char *referrer, bool add_to_history); void browser_window_download(struct browser_window *bw, const char *url, const char *referrer); -void browser_window_update(struct browser_window *bw, bool scroll_to_top); +void browser_window_update(struct browser_window *bw); void browser_window_stop(struct browser_window *bw); void browser_window_reload(struct browser_window *bw, bool all); void browser_window_destroy(struct browser_window *bw); -- cgit v1.2.3