diff options
author | Linus Groh <mail@linusgroh.de> | 2020-07-02 22:49:42 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-03 12:29:18 +0200 |
commit | 1bc326f63bc36b87c7719abb1480dc5e1dd40941 (patch) | |
tree | 3f940abf0d732cddd6bba3decd34da5e4f6a26bf /Applications/FileManager | |
parent | 33ca151eb03a15a54a50c1ae045dc5edacf61626 (diff) | |
download | serenity-1bc326f63bc36b87c7719abb1480dc5e1dd40941.zip |
FileManager: Add "Open Terminal here..." action to menu and toolbar
Currently it's only available in the context menu, which isn't quite
obvious.
Diffstat (limited to 'Applications/FileManager')
-rw-r--r-- | Applications/FileManager/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Applications/FileManager/main.cpp b/Applications/FileManager/main.cpp index 7cd8f5ac28..946386ee94 100644 --- a/Applications/FileManager/main.cpp +++ b/Applications/FileManager/main.cpp @@ -622,6 +622,7 @@ int run_in_windowed_mode(RefPtr<Core::ConfigFile> config, String initial_locatio app_menu.add_action(copy_action); app_menu.add_action(paste_action); app_menu.add_action(delete_action); + app_menu.add_action(open_terminal_action); app_menu.add_separator(); app_menu.add_action(properties_action); app_menu.add_separator(); @@ -657,6 +658,7 @@ int run_in_windowed_mode(RefPtr<Core::ConfigFile> config, String initial_locatio main_toolbar.add_action(copy_action); main_toolbar.add_action(paste_action); main_toolbar.add_action(delete_action); + main_toolbar.add_action(open_terminal_action); main_toolbar.add_separator(); main_toolbar.add_action(*view_as_icons_action); |