diff options
author | Andreas Kling <kling@serenityos.org> | 2021-04-13 16:18:20 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-13 16:58:15 +0200 |
commit | a2baab38fd58e18f690e2256b0a5081580c05968 (patch) | |
tree | ee4585bda0e59a1727f10b1203e540e44a2edafb /Userland/Applications/Help | |
parent | 86bdfa1edf21293e2c0f3ca8b31808a21882cb99 (diff) | |
download | serenity-a2baab38fd58e18f690e2256b0a5081580c05968.zip |
Everywhere: It's now "Foobar", not "FooBar", and not "foo bar"
I hereby declare these to be full nouns that we don't split,
neither by space, nor by underscore:
- Breadcrumbbar
- Coolbar
- Menubar
- Progressbar
- Scrollbar
- Statusbar
- Taskbar
- Toolbar
This patch makes everything consistent by replacing every other variant
of these with the proper one. :^)
Diffstat (limited to 'Userland/Applications/Help')
-rw-r--r-- | Userland/Applications/Help/main.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Userland/Applications/Help/main.cpp b/Userland/Applications/Help/main.cpp index 22e6f83407..05f5d3c075 100644 --- a/Userland/Applications/Help/main.cpp +++ b/Userland/Applications/Help/main.cpp @@ -36,13 +36,13 @@ #include <LibGUI/FilteringProxyModel.h> #include <LibGUI/ListView.h> #include <LibGUI/Menu.h> -#include <LibGUI/MenuBar.h> +#include <LibGUI/Menubar.h> #include <LibGUI/MessageBox.h> #include <LibGUI/Splitter.h> #include <LibGUI/TabWidget.h> #include <LibGUI/TextBox.h> -#include <LibGUI/ToolBar.h> -#include <LibGUI/ToolBarContainer.h> +#include <LibGUI/Toolbar.h> +#include <LibGUI/ToolbarContainer.h> #include <LibGUI/TreeView.h> #include <LibGUI/Window.h> #include <LibMarkdown/Document.h> @@ -107,8 +107,8 @@ int main(int argc, char* argv[]) widget.set_fill_with_background_color(true); widget.layout()->set_spacing(2); - auto& toolbar_container = widget.add<GUI::ToolBarContainer>(); - auto& toolbar = toolbar_container.add<GUI::ToolBar>(); + auto& toolbar_container = widget.add<GUI::ToolbarContainer>(); + auto& toolbar = toolbar_container.add<GUI::Toolbar>(); auto& splitter = widget.add<GUI::HorizontalSplitter>(); @@ -272,7 +272,7 @@ int main(int argc, char* argv[]) toolbar.add_action(*go_forward_action); toolbar.add_action(*go_home_action); - auto menubar = GUI::MenuBar::construct(); + auto menubar = GUI::Menubar::construct(); auto& app_menu = menubar->add_menu("File"); app_menu.add_action(GUI::CommonActions::make_about_action("Help", app_icon, window)); |