summaryrefslogtreecommitdiff
path: root/Userland/Applications/CharacterMap/CharacterMapWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/CharacterMap/CharacterMapWidget.cpp')
-rw-r--r--Userland/Applications/CharacterMap/CharacterMapWidget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Applications/CharacterMap/CharacterMapWidget.cpp b/Userland/Applications/CharacterMap/CharacterMapWidget.cpp
index 82e4b90108..f90ebe8fa0 100644
--- a/Userland/Applications/CharacterMap/CharacterMapWidget.cpp
+++ b/Userland/Applications/CharacterMap/CharacterMapWidget.cpp
@@ -9,6 +9,7 @@
#include <AK/StringUtils.h>
#include <Applications/CharacterMap/CharacterMapWindowGML.h>
#include <LibConfig/Client.h>
+#include <LibDesktop/Launcher.h>
#include <LibGUI/Action.h>
#include <LibGUI/Application.h>
#include <LibGUI/Clipboard.h>
@@ -134,6 +135,9 @@ void CharacterMapWidget::initialize_menubar(GUI::Window& window)
}));
auto& help_menu = window.add_menu("&Help");
+ help_menu.add_action(GUI::CommonActions::make_help_action([&](auto&) {
+ Desktop::Launcher::open(URL::create_with_file_protocol("/usr/share/man/man1/CharacterMap.md"), "/bin/Help");
+ }));
help_menu.add_action(GUI::CommonActions::make_about_action("Character Map", GUI::Icon::default_icon("app-keyboard-settings"), &window));
}