gcal-window: datetime settings shortcut

Shortcut is added so that time-related system settings can be easily
accessed. See #1023

The code is largely just a copy-paste of the code that opens the
"Online Accounts…" menu.

Fixes #1023
This commit is contained in:
Victoria Lacroix
2023-07-15 23:04:51 +00:00
committed by Georges Basile Stavracas Neto
parent 8afc4bd129
commit 3526cadcca
4 changed files with 71 additions and 0 deletions
+4
View File
@@ -302,6 +302,10 @@
<menu id='menu'>
<section>
<item>
<attribute name="label" translatable="yes">_Date &amp; Time Settings…</attribute>
<attribute name="action">win.open-date-time-settings</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Online Accounts…</attribute>
<attribute name="action">win.open-online-accounts</attribute>