mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:07:35 +00:00
Calendar: Update month view on first_day_of_week setting change
Now when the user changes their preferred first day of the week in the Calendar Settings, the Calendar application and applet views are update accordingly without needing to restart them.
This commit is contained in:
parent
a1d98b825d
commit
6f69f4bb5e
4 changed files with 17 additions and 1 deletions
|
@ -50,6 +50,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
auto app = TRY(GUI::Application::try_create(arguments));
|
||||
Config::pledge_domains({ "Taskbar", "Calendar" });
|
||||
Config::monitor_domain("Taskbar");
|
||||
Config::monitor_domain("Calendar");
|
||||
app->event_loop().register_signal(SIGCHLD, [](int) {
|
||||
// Wait all available children
|
||||
while (waitpid(-1, nullptr, WNOHANG) > 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue