diff options
author | Xexxa <93391300+Xexxa@users.noreply.github.com> | 2022-06-26 18:35:06 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-06-26 22:18:30 +0100 |
commit | b691269912bcc08e43007d03c04e784b6b4974a8 (patch) | |
tree | 27f45bb0bcffdf44b836d5371597dd5a696aa6cd /Userland/Applications | |
parent | 65714554997bacb6fdcc09da0b763defe252b435 (diff) | |
download | serenity-b691269912bcc08e43007d03c04e784b6b4974a8.zip |
Base+Browser+BrowserSettings: Add default page for new tab
Diffstat (limited to 'Userland/Applications')
-rw-r--r-- | Userland/Applications/Browser/main.cpp | 2 | ||||
-rw-r--r-- | Userland/Applications/BrowserSettings/BrowserSettingsWidget.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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<int> 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 <LibGUI/Model.h> 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; |