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:
@@ -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"><Primary>n</attribute>
|
||||
</item>
|
||||
</section>
|
||||
<section>
|
||||
<item>
|
||||
<attribute name="label" translatable="yes">_Calendars</attribute>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user