diff options
author | Andreas Kling <kling@serenityos.org> | 2021-09-13 20:24:59 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-13 22:21:57 +0200 |
commit | 7f71f54fc3a29a0bc72135447adf645860694e4f (patch) | |
tree | 5afdefed9bccef828da061a43f408cffa97aac46 /Userland/Applications/Browser | |
parent | 416559414cd22f796ede87f2086f6a927c2678ff (diff) | |
download | serenity-7f71f54fc3a29a0bc72135447adf645860694e4f.zip |
Browser: Rename "DOM Inspector" to just "Inspector"
It inspects more than the DOM, after all. :^)
Diffstat (limited to 'Userland/Applications/Browser')
-rw-r--r-- | Userland/Applications/Browser/BrowserWindow.cpp | 4 | ||||
-rw-r--r-- | 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(); |