mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:47:46 +00:00
Calendar: Add a Calendar settings dialog for the first day of the week
This commit adds a new settings dialog for the Calendar application and applet. It allows the user to specify their preferred first day of the week.
This commit is contained in:
parent
9414525d75
commit
0eceed4fd7
12 changed files with 178 additions and 2 deletions
|
@ -48,7 +48,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
{
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd proc exec rpath unix sigaction"));
|
||||
auto app = TRY(GUI::Application::try_create(arguments));
|
||||
Config::pledge_domain("Taskbar");
|
||||
Config::pledge_domains({ "Taskbar", "Calendar" });
|
||||
Config::monitor_domain("Taskbar");
|
||||
app->event_loop().register_signal(SIGCHLD, [](int) {
|
||||
// Wait all available children
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue