mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 14:14:45 +03:00
LibGUI: Phrase help action more specifically
Previously the option created by `make_help_action()` was unclear in its meaning, by renaming the option to 'Manual' this should more meaningfully represent the effect of the action.
This commit is contained in:
parent
421a80bf43
commit
31c0022429
Notes:
sideshowbarker
2024-07-17 21:16:31 +09:00
Author: https://github.com/Diogenes31 Commit: https://github.com/SerenityOS/serenity/commit/31c0022429 Pull-request: https://github.com/SerenityOS/serenity/pull/14031 Reviewed-by: https://github.com/kleinesfilmroellchen ✅
@ -113,7 +113,7 @@ NonnullRefPtr<Action> make_quit_action(Function<void(Action&)> callback)
|
||||
|
||||
NonnullRefPtr<Action> make_help_action(Function<void(Action&)> callback, Core::Object* parent)
|
||||
{
|
||||
auto action = Action::create("&Contents", { Mod_None, Key_F1 }, Gfx::Bitmap::try_load_from_file("/res/icons/16x16/app-help.png").release_value_but_fixme_should_propagate_errors(), move(callback), parent);
|
||||
auto action = Action::create("&Manual", { Mod_None, Key_F1 }, Gfx::Bitmap::try_load_from_file("/res/icons/16x16/app-help.png").release_value_but_fixme_should_propagate_errors(), move(callback), parent);
|
||||
action->set_status_tip("Show help contents");
|
||||
return action;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user