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/FileManager/FileOperationProgressWidget.cpp | |
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/FileManager/FileOperationProgressWidget.cpp')
-rw-r--r-- | Userland/Applications/FileManager/FileOperationProgressWidget.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Userland/Applications/FileManager/FileOperationProgressWidget.cpp b/Userland/Applications/FileManager/FileOperationProgressWidget.cpp index 534efca7e0..83821344ea 100644 --- a/Userland/Applications/FileManager/FileOperationProgressWidget.cpp +++ b/Userland/Applications/FileManager/FileOperationProgressWidget.cpp @@ -31,7 +31,7 @@ #include <LibGUI/Button.h> #include <LibGUI/Label.h> #include <LibGUI/MessageBox.h> -#include <LibGUI/ProgressBar.h> +#include <LibGUI/Progressbar.h> #include <LibGUI/Window.h> namespace FileManager { @@ -99,17 +99,17 @@ void FileOperationProgressWidget::did_error() void FileOperationProgressWidget::did_progress([[maybe_unused]] off_t bytes_done, [[maybe_unused]] off_t total_byte_count, size_t files_done, size_t total_file_count, off_t current_file_done, off_t current_file_size, const StringView& current_file_name) { auto& current_file_label = *find_descendant_of_type_named<GUI::Label>("current_file_label"); - auto& current_file_progress_bar = *find_descendant_of_type_named<GUI::ProgressBar>("current_file_progress_bar"); + auto& current_file_progressbar = *find_descendant_of_type_named<GUI::Progressbar>("current_file_progressbar"); auto& overall_progress_label = *find_descendant_of_type_named<GUI::Label>("overall_progress_label"); - auto& overall_progress_bar = *find_descendant_of_type_named<GUI::ProgressBar>("overall_progress_bar"); + auto& overall_progressbar = *find_descendant_of_type_named<GUI::Progressbar>("overall_progressbar"); current_file_label.set_text(current_file_name); - current_file_progress_bar.set_max(current_file_size); - current_file_progress_bar.set_value(current_file_done); + current_file_progressbar.set_max(current_file_size); + current_file_progressbar.set_value(current_file_done); overall_progress_label.set_text(String::formatted("{} of {}", files_done, total_file_count)); - overall_progress_bar.set_max(total_file_count); - overall_progress_bar.set_value(files_done); + overall_progressbar.set_max(total_file_count); + overall_progressbar.set_value(files_done); } void FileOperationProgressWidget::close_pipe() |