appmenu: Remove "New Event" entry

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.
This commit is contained in:
Georges Basile Stavracas Neto
2018-07-29 00:54:02 -03:00
parent 862017ab96
commit 89e80e688b
8 changed files with 0 additions and 77 deletions
-7
View File
@@ -1,13 +1,6 @@
<?xml version="1.0"?>
<interface>
<menu id="app-menu">
<section>
<item>
<attribute name="label" translatable="yes">Add Eve_nt…</attribute>
<attribute name="action">app.new</attribute>
<attribute name="accel">&lt;Primary&gt;n</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_Calendars</attribute>
-7
View File
@@ -386,13 +386,6 @@
<property name="margin">12</property>
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkModelButton">
<property name="text" translatable="yes">Add Eve_nt</property>
<property name="action-name">app.new</property>
<property name="visible">True</property>
</object>
</child>
<!-- Synchronize -->
<child>