mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:47:35 +00:00
Base+Browser+BrowserSettings: Add default page for new tab
This commit is contained in:
parent
6571455499
commit
b691269912
3 changed files with 99 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue