diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-18 13:00:20 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-18 13:00:20 +0200 |
commit | 7d904eed1251cffeba58571416c14668bfd25a07 (patch) | |
tree | cab388e43177ad77fad476ec06ce5de032ed518e /Userland/Applications/FileManager | |
parent | db33a36048bab67e3bd7550d5174d19493eafc4f (diff) | |
download | serenity-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.cpp | 8 |
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); |