mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
New tabs should show the homepage
svn path=/trunk/netsurf/; revision=11701
This commit is contained in:
parent
06e6ec4eb1
commit
7d03e1f969
@ -1245,7 +1245,7 @@ void ami_handle_msg(void)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case GID_ADDTAB:
|
case GID_ADDTAB:
|
||||||
browser_window_create(NULL, gwin->bw, 0, true, true);
|
browser_window_create(option_homepage_url, gwin->bw, 0, true, true);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GID_URL:
|
case GID_URL:
|
||||||
|
@ -467,7 +467,7 @@ void ami_menupick(ULONG code,struct gui_window_2 *gwin,struct MenuItem *item)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 1: // new tab
|
case 1: // new tab
|
||||||
bw = browser_window_create(NULL, gwin->bw, 0, true, opentab);
|
bw = browser_window_create(option_homepage_url, gwin->bw, 0, true, opentab);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 3: // open local file
|
case 3: // open local file
|
||||||
|
Loading…
Reference in New Issue
Block a user