From b691269912bcc08e43007d03c04e784b6b4974a8 Mon Sep 17 00:00:00 2001 From: Xexxa <93391300+Xexxa@users.noreply.github.com> Date: Sun, 26 Jun 2022 18:35:06 +0200 Subject: Base+Browser+BrowserSettings: Add default page for new tab --- Userland/Applications/Browser/main.cpp | 2 +- Userland/Applications/BrowserSettings/BrowserSettingsWidget.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Userland/Applications') diff --git a/Userland/Applications/Browser/main.cpp b/Userland/Applications/Browser/main.cpp index afcad266db..cd437eb5ab 100644 --- a/Userland/Applications/Browser/main.cpp +++ b/Userland/Applications/Browser/main.cpp @@ -95,7 +95,7 @@ ErrorOr serenity_main(Main::Arguments arguments) auto app_icon = GUI::Icon::default_icon("app-browser"); Browser::g_home_url = Config::read_string("Browser", "Preferences", "Home", "file:///res/html/misc/welcome.html"); - Browser::g_new_tab_url = Config::read_string("Browser", "Preferences", "NewTab", "file:///res/html/misc/welcome.html"); + Browser::g_new_tab_url = Config::read_string("Browser", "Preferences", "NewTab", "file:///res/html/misc/new-tab.html"); Browser::g_search_engine = Config::read_string("Browser", "Preferences", "SearchEngine", {}); Browser::g_content_filters_enabled = Config::read_bool("Browser", "Preferences", "EnableContentFilters", true); diff --git a/Userland/Applications/BrowserSettings/BrowserSettingsWidget.cpp b/Userland/Applications/BrowserSettings/BrowserSettingsWidget.cpp index fdffade119..fc739bb803 100644 --- a/Userland/Applications/BrowserSettings/BrowserSettingsWidget.cpp +++ b/Userland/Applications/BrowserSettings/BrowserSettingsWidget.cpp @@ -13,7 +13,7 @@ #include static String default_homepage_url = "file:///res/html/misc/welcome.html"; -static String default_new_tab_url = "file:///res/html/misc/welcome.html"; +static String default_new_tab_url = "file:///res/html/misc/new-tab.html"; static String default_search_engine = ""; static String default_color_scheme = "auto"; static bool default_show_bookmarks_bar = true; -- cgit v1.2.3