From 7f71f54fc3a29a0bc72135447adf645860694e4f Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 13 Sep 2021 20:24:59 +0200 Subject: [PATCH] Browser: Rename "DOM Inspector" to just "Inspector" It inspects more than the DOM, after all. :^) --- Userland/Applications/Browser/BrowserWindow.cpp | 4 ++-- Userland/Applications/Browser/Tab.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Userland/Applications/Browser/BrowserWindow.cpp b/Userland/Applications/Browser/BrowserWindow.cpp index 902da1d4b1..08c184ff63 100644 --- a/Userland/Applications/Browser/BrowserWindow.cpp +++ b/Userland/Applications/Browser/BrowserWindow.cpp @@ -196,14 +196,14 @@ void BrowserWindow::build_menus() active_tab().show_inspector_window(Tab::InspectorTarget::Document); }, this); - m_inspect_dom_tree_action->set_status_tip("Open DOM inspector window for this page"); + m_inspect_dom_tree_action->set_status_tip("Open inspector window for this page"); m_inspect_dom_node_action = GUI::Action::create( "&Inspect Element", [this](auto&) { active_tab().show_inspector_window(Tab::InspectorTarget::HoveredElement); }, this); - m_inspect_dom_node_action->set_status_tip("Open DOM inspector for this element"); + m_inspect_dom_node_action->set_status_tip("Open inspector for this element"); auto& inspect_menu = add_menu("&Inspect"); inspect_menu.add_action(*m_view_source_action); diff --git a/Userland/Applications/Browser/Tab.cpp b/Userland/Applications/Browser/Tab.cpp index f043adb032..22bdfba417 100644 --- a/Userland/Applications/Browser/Tab.cpp +++ b/Userland/Applications/Browser/Tab.cpp @@ -482,7 +482,7 @@ void Tab::show_inspector_window(Browser::Tab::InspectorTarget inspector_target) if (!m_dom_inspector_widget) { auto window = GUI::Window::construct(&this->window()); window->resize(300, 500); - window->set_title("DOM inspector"); + window->set_title("Inspector"); window->set_icon(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/inspector-object.png")); window->on_close = [&]() { m_web_content_view->clear_inspected_dom_node();