diff --git a/Base/res/icons/16x16/close-tab.png b/Base/res/icons/16x16/close-tab.png index 9b6a0ae085..a647643472 100644 Binary files a/Base/res/icons/16x16/close-tab.png and b/Base/res/icons/16x16/close-tab.png differ diff --git a/Base/res/icons/16x16/cookie.png b/Base/res/icons/16x16/cookie.png new file mode 100644 index 0000000000..9508ae341f Binary files /dev/null and b/Base/res/icons/16x16/cookie.png differ diff --git a/Base/res/icons/16x16/duplicate-tab.png b/Base/res/icons/16x16/duplicate-tab.png new file mode 100644 index 0000000000..4df56f7f90 Binary files /dev/null and b/Base/res/icons/16x16/duplicate-tab.png differ diff --git a/Base/res/icons/16x16/fullscreen.png b/Base/res/icons/16x16/fullscreen.png new file mode 100644 index 0000000000..6d73e89b5a Binary files /dev/null and b/Base/res/icons/16x16/fullscreen.png differ diff --git a/Base/res/icons/16x16/new-tab.png b/Base/res/icons/16x16/new-tab.png index 48f749ef68..c51848aae1 100644 Binary files a/Base/res/icons/16x16/new-tab.png and b/Base/res/icons/16x16/new-tab.png differ diff --git a/Base/res/icons/16x16/tree.png b/Base/res/icons/16x16/tree.png new file mode 100644 index 0000000000..a7135e2656 Binary files /dev/null and b/Base/res/icons/16x16/tree.png differ diff --git a/Userland/Applications/Browser/BrowserWindow.cpp b/Userland/Applications/Browser/BrowserWindow.cpp index b425208cdc..366d817a48 100644 --- a/Userland/Applications/Browser/BrowserWindow.cpp +++ b/Userland/Applications/Browser/BrowserWindow.cpp @@ -204,7 +204,7 @@ void BrowserWindow::build_menus() m_view_source_action->set_status_tip("View source code of the current page"); m_inspect_dom_tree_action = GUI::Action::create( - "Inspect &DOM Tree", { Mod_None, Key_F12 }, [this](auto&) { + "Inspect &DOM Tree", { Mod_None, Key_F12 }, Gfx::Bitmap::try_load_from_file("/res/icons/16x16/tree.png").release_value_but_fixme_should_propagate_errors(), [this](auto&) { active_tab().show_inspector_window(Tab::InspectorTarget::Document); }, this); @@ -343,7 +343,7 @@ void BrowserWindow::build_menus() auto& debug_menu = add_menu("&Debug"); debug_menu.add_action(GUI::Action::create( - "Dump &DOM Tree", [this](auto&) { + "Dump &DOM Tree", Gfx::Bitmap::try_load_from_file("/res/icons/16x16/tree.png").release_value_but_fixme_should_propagate_errors(), [this](auto&) { active_tab().m_web_content_view->debug_request("dump-dom-tree"); }, this)); @@ -360,7 +360,7 @@ void BrowserWindow::build_menus() debug_menu.add_action(GUI::Action::create("Dump &History", { Mod_Ctrl, Key_H }, [this](auto&) { active_tab().m_history.dump(); })); - debug_menu.add_action(GUI::Action::create("Dump C&ookies", [this](auto&) { + debug_menu.add_action(GUI::Action::create("Dump C&ookies", Gfx::Bitmap::try_load_from_file("/res/icons/16x16/cookie.png").release_value_but_fixme_should_propagate_errors(), [this](auto&) { auto& tab = active_tab(); if (tab.on_dump_cookies) tab.on_dump_cookies(); diff --git a/Userland/Applications/Browser/Tab.cpp b/Userland/Applications/Browser/Tab.cpp index fbae641717..a347db0906 100644 --- a/Userland/Applications/Browser/Tab.cpp +++ b/Userland/Applications/Browser/Tab.cpp @@ -332,7 +332,7 @@ Tab::Tab(BrowserWindow& window) m_tab_context_menu->add_action(GUI::CommonActions::make_close_tab_action([this](auto&) { on_tab_close_request(*this); })); - m_tab_context_menu->add_action(GUI::Action::create("&Duplicate Tab", [this](auto&) { + m_tab_context_menu->add_action(GUI::Action::create("&Duplicate Tab", Gfx::Bitmap::try_load_from_file("/res/icons/16x16/duplicate-tab.png").release_value_but_fixme_should_propagate_errors(), [this](auto&) { on_tab_open_request(url()); })); m_tab_context_menu->add_action(GUI::Action::create("Close &Other Tabs", [this](auto&) { diff --git a/Userland/Libraries/LibGUI/CommonActions.cpp b/Userland/Libraries/LibGUI/CommonActions.cpp index 91cfba08af..8fbd5aaa1d 100644 --- a/Userland/Libraries/LibGUI/CommonActions.cpp +++ b/Userland/Libraries/LibGUI/CommonActions.cpp @@ -100,6 +100,7 @@ NonnullRefPtr make_fullscreen_action(Function callback, C { auto action = Action::create("&Fullscreen", { Mod_None, Key_F11 }, move(callback), parent); action->set_status_tip("Enter fullscreen mode"); + action->set_icon(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/fullscreen.png").release_value_but_fixme_should_propagate_errors()); return action; } diff --git a/Userland/Libraries/LibWeb/Loader/FrameLoader.cpp b/Userland/Libraries/LibWeb/Loader/FrameLoader.cpp index e0c2d559f9..025b0b160e 100644 --- a/Userland/Libraries/LibWeb/Loader/FrameLoader.cpp +++ b/Userland/Libraries/LibWeb/Loader/FrameLoader.cpp @@ -30,7 +30,7 @@ FrameLoader::FrameLoader(HTML::BrowsingContext& browsing_context) : m_browsing_context(browsing_context) { if (!s_default_favicon_bitmap) { - s_default_favicon_bitmap = Gfx::Bitmap::try_load_from_file("/res/icons/16x16/filetype-html.png").release_value_but_fixme_should_propagate_errors(); + s_default_favicon_bitmap = Gfx::Bitmap::try_load_from_file("/res/icons/16x16/app-browser.png").release_value_but_fixme_should_propagate_errors(); VERIFY(s_default_favicon_bitmap); } }