summaryrefslogtreecommitdiff
path: root/Userland/Applications/FileManager
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-18 13:00:20 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-18 13:00:20 +0200
commit7d904eed1251cffeba58571416c14668bfd25a07 (patch)
treecab388e43177ad77fad476ec06ce5de032ed518e /Userland/Applications/FileManager
parentdb33a36048bab67e3bd7550d5174d19493eafc4f (diff)
downloadserenity-7d904eed1251cffeba58571416c14668bfd25a07.zip
FileManager: Reorder main toolbar actions a little bit
Put the "Open in terminal" action next to the other navigation actions. And separate the "New File" and "New Directory" actions from the actions that operate on existing items.
Diffstat (limited to 'Userland/Applications/FileManager')
-rw-r--r--Userland/Applications/FileManager/main.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/Userland/Applications/FileManager/main.cpp b/Userland/Applications/FileManager/main.cpp
index 7bc98ce3d4..466728cb7e 100644
--- a/Userland/Applications/FileManager/main.cpp
+++ b/Userland/Applications/FileManager/main.cpp
@@ -916,8 +916,13 @@ int run_in_windowed_mode(RefPtr<Core::ConfigFile> config, String initial_locatio
main_toolbar.add_action(go_home_action);
main_toolbar.add_separator();
+ main_toolbar.add_action(directory_view.open_terminal_action());
+
+ main_toolbar.add_separator();
main_toolbar.add_action(mkdir_action);
main_toolbar.add_action(touch_action);
+ main_toolbar.add_separator();
+
main_toolbar.add_action(focus_dependent_delete_action);
main_toolbar.add_action(directory_view.rename_action());
@@ -927,9 +932,6 @@ int run_in_windowed_mode(RefPtr<Core::ConfigFile> config, String initial_locatio
main_toolbar.add_action(paste_action);
main_toolbar.add_separator();
- main_toolbar.add_action(directory_view.open_terminal_action());
-
- main_toolbar.add_separator();
main_toolbar.add_action(*view_as_icons_action);
main_toolbar.add_action(*view_as_table_action);
main_toolbar.add_action(*view_as_columns_action);