summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GAction.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-10-06 21:59:46 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-10-06 22:00:04 +0200
commitac3079b43301c1fcf0de3ed8bfaea427fb55391c (patch)
treed7d8e506931466a974443859078d3f2728d4efe4 /Libraries/LibGUI/GAction.h
parent122d12e61797533f3948f9b36dd147551d45d572 (diff)
downloadserenity-ac3079b43301c1fcf0de3ed8bfaea427fb55391c.zip
LibGUI: Add "Go home" to GCommonActions
Diffstat (limited to 'Libraries/LibGUI/GAction.h')
-rw-r--r--Libraries/LibGUI/GAction.h1
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);
};