1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:47:35 +00:00

Calendar: Add a link to the Manual in Help Menu

This commit is contained in:
Mr.UNIX 2023-12-25 18:56:19 +01:00 committed by Andreas Kling
parent 863e8c30ad
commit 467faee1b8
3 changed files with 6 additions and 2 deletions

View file

@ -4,7 +4,6 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "AddEventDialog.h"
#include "CalendarWidget.h"
#include <LibConfig/Client.h>
#include <LibCore/ArgsParser.h>
@ -55,6 +54,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::unveil("/res", "r"));
TRY(Core::System::unveil("/bin/CalendarSettings", "x"));
TRY(Core::System::unveil("/tmp/session/%sid/portal/filesystemaccess", "rw"));
TRY(Core::System::unveil("/tmp/session/%sid/portal/launch", "rw"));
TRY(Core::System::unveil(nullptr, nullptr));
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-calendar"sv));