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 /Libraries/LibGUI/GAction.h | |
parent | 122d12e61797533f3948f9b36dd147551d45d572 (diff) | |
download | serenity-ac3079b43301c1fcf0de3ed8bfaea427fb55391c.zip |
LibGUI: Add "Go home" to GCommonActions
Diffstat (limited to 'Libraries/LibGUI/GAction.h')
-rw-r--r-- | Libraries/LibGUI/GAction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibGUI/GAction.h b/Libraries/LibGUI/GAction.h index cb3e4752f2..285df968db 100644 --- a/Libraries/LibGUI/GAction.h +++ b/Libraries/LibGUI/GAction.h @@ -32,6 +32,7 @@ NonnullRefPtr<GAction> make_fullscreen_action(Function<void(GAction&)>, GWidget* NonnullRefPtr<GAction> make_quit_action(Function<void(GAction&)>); NonnullRefPtr<GAction> make_go_back_action(Function<void(GAction&)>, GWidget* widget = nullptr); NonnullRefPtr<GAction> make_go_forward_action(Function<void(GAction&)>, GWidget* widget = nullptr); +NonnullRefPtr<GAction> make_go_home_action(Function<void(GAction&)> callback, GWidget* widget = nullptr); NonnullRefPtr<GAction> make_reload_action(Function<void(GAction&)>, GWidget* widget = nullptr); }; |