The "New Event" menu item is confusing and misleading, since it is contextless item that has a context-aware action. The result varies depending on which view you are, but this is in no way communicated. So just remove that, and all the GcalWindow API that is not used anymore altogether.
43 lines
1.4 KiB
XML
43 lines
1.4 KiB
XML
<?xml version="1.0"?>
|
|
<interface>
|
|
<menu id="app-menu">
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Calendars</attribute>
|
|
<attribute name="action">win.show-calendars</attribute>
|
|
</item>
|
|
</section>
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
|
|
<attribute name="action">win.show-help-overlay</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_About</attribute>
|
|
<attribute name="action">app.about</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes">_Quit</attribute>
|
|
<attribute name="action">app.quit</attribute>
|
|
<attribute name="accel"><Primary>q</attribute>
|
|
</item>
|
|
</section>
|
|
</menu>
|
|
<menu id="add-source-menu">
|
|
<section>
|
|
<item>
|
|
<attribute name="label" translatable="yes">From Web…</attribute>
|
|
<attribute name="action">source.web</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes">New Local Calendar…</attribute>
|
|
<attribute name="action">source.local</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name="label" translatable="yes">From File…</attribute>
|
|
<attribute name="action">source.file</attribute>
|
|
</item>
|
|
</section>
|
|
</menu>
|
|
</interface>
|