diff options
author | Tim Ledbetter <timledbetter@gmail.com> | 2023-04-08 10:48:22 +0100 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2023-04-25 02:16:48 -0600 |
commit | 05c8aa71f25c3d58f0037db04216a24e86b13903 (patch) | |
tree | 7fd655d2ba935d4f66ce12e339a4fbf3b5f8432d /Userland/Applications/ImageViewer | |
parent | 9d30eb4b34ddbd17d666a9ac50e654e484125970 (diff) | |
download | serenity-05c8aa71f25c3d58f0037db04216a24e86b13903.zip |
Applications: Update man page links for applications
This commit updates all application man page links to point to the
Applications subdirectory.
Diffstat (limited to 'Userland/Applications/ImageViewer')
-rw-r--r-- | Userland/Applications/ImageViewer/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/ImageViewer/main.cpp b/Userland/Applications/ImageViewer/main.cpp index ae6e7248e5..a932eef9bb 100644 --- a/Userland/Applications/ImageViewer/main.cpp +++ b/Userland/Applications/ImageViewer/main.cpp @@ -48,7 +48,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) app->set_config_domain(TRY("ImageViewer"_string)); TRY(Desktop::Launcher::add_allowed_handler_with_any_url("/bin/ImageViewer")); - TRY(Desktop::Launcher::add_allowed_handler_with_only_specific_urls("/bin/Help", { URL::create_with_file_scheme("/usr/share/man/man1/ImageViewer.md") })); + TRY(Desktop::Launcher::add_allowed_handler_with_only_specific_urls("/bin/Help", { URL::create_with_file_scheme("/usr/share/man/man1/Applications/ImageViewer.md") })); TRY(Desktop::Launcher::seal_allowlist()); // FIXME: Use unveil when we solve the issue with ViewWidget::load_files_from_directory, an explanation is given in ViewWidget.cpp @@ -356,7 +356,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) auto help_menu = TRY(window->try_add_menu("&Help"_short_string)); TRY(help_menu->try_add_action(GUI::CommonActions::make_command_palette_action(window))); TRY(help_menu->try_add_action(GUI::CommonActions::make_help_action([](auto&) { - Desktop::Launcher::open(URL::create_with_file_scheme("/usr/share/man/man1/ImageViewer.md"), "/bin/Help"); + Desktop::Launcher::open(URL::create_with_file_scheme("/usr/share/man/man1/Applications/ImageViewer.md"), "/bin/Help"); }))); TRY(help_menu->try_add_action(GUI::CommonActions::make_about_action("Image Viewer", app_icon, window))); |