diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-10-06 21:59:46 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-10-06 22:00:04 +0200 |
commit | ac3079b43301c1fcf0de3ed8bfaea427fb55391c (patch) | |
tree | d7d8e506931466a974443859078d3f2728d4efe4 /Applications/FileManager | |
parent | 122d12e61797533f3948f9b36dd147551d45d572 (diff) | |
download | serenity-ac3079b43301c1fcf0de3ed8bfaea427fb55391c.zip |
LibGUI: Add "Go home" to GCommonActions
Diffstat (limited to 'Applications/FileManager')
-rw-r--r-- | Applications/FileManager/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/FileManager/main.cpp b/Applications/FileManager/main.cpp index fb4025877f..bcd61b19b2 100644 --- a/Applications/FileManager/main.cpp +++ b/Applications/FileManager/main.cpp @@ -257,7 +257,7 @@ int main(int argc, char** argv) directory_view->open_next_directory(); }); - auto go_home_action = GAction::create("Go to Home Directory", GraphicsBitmap::load_from_file("/res/icons/16x16/go-home.png"), [&](auto&) { + auto go_home_action = GCommonActions::make_go_home_action([&](auto&) { directory_view->open(get_current_user_home_path()); }); |