1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:57:44 +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:
Olivier De Cannière 2022-07-16 01:33:39 +02:00 committed by Tim Flynn
parent 9414525d75
commit 0eceed4fd7
12 changed files with 178 additions and 2 deletions

View file

@ -101,6 +101,9 @@ TaskbarWindow::TaskbarWindow(NonnullRefPtr<GUI::Menu> start_menu)
void TaskbarWindow::config_string_did_change(String const& domain, String const& group, String const& key, String const& value)
{
if (domain == "Calendar"sv)
return;
VERIFY(domain == "Taskbar");
if (group == "Clock" && key == "TimeFormat") {
m_clock_widget->update_format(value);