From 46915c6b7b6d67675cb365776a972fde32a24596 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Tue, 1 Mar 2011 19:09:57 +0000 Subject: [PATCH] Brand new windows should not be cloning an existing browser_window or they pick up old local history. Brand new tabs should not either but that appears to be unavoidable at present. svn path=/trunk/netsurf/; revision=11872 --- amiga/gui.c | 6 +++--- amiga/menu.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/amiga/gui.c b/amiga/gui.c index e4b21d47c..ce6bc9488 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -1339,15 +1339,15 @@ void ami_handle_msg(void) case 'n': if((option_kiosk_mode == false) && (gwin->bw->browser_window_type == BROWSER_WINDOW_NORMAL)) - browser_window_create(NULL, gwin->bw, + browser_window_create(option_homepage_url, NULL, 0, true, false); break; case 't': if((option_kiosk_mode == false) && (gwin->bw->browser_window_type == BROWSER_WINDOW_NORMAL)) - browser_window_create(NULL, gwin->bw, - 0, true, true); + browser_window_create(option_homepage_url, + gwin->bw, 0, true, true); break; case 'k': diff --git a/amiga/menu.c b/amiga/menu.c index 7495ad29c..3259cc603 100755 --- a/amiga/menu.c +++ b/amiga/menu.c @@ -490,7 +490,7 @@ void ami_menupick(ULONG code,struct gui_window_2 *gwin,struct MenuItem *item) switch(itemnum) { case 0: // new window - bw = browser_window_create(option_homepage_url, gwin->bw, 0, true, openwin); + bw = browser_window_create(option_homepage_url, NULL, 0, true, openwin); break; case 1: // new tab