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
@@ -542,7 +542,6 @@ GcalWeekView
<FILE>gcal-window</FILE>
GCAL_TYPE_WINDOW
gcal_window_new_with_view_and_date
gcal_window_new_event
gcal_window_set_search_mode
gcal_window_set_search_query
gcal_window_open_event_by_uuid
-5
View File
@@ -722,11 +722,6 @@ GcalShellSearchProvider *search_provider, GcalManager *manager
GcalApplication *app, GcalWindowViewType view_type, icaltimetype *date
</FUNCTION>
<FUNCTION>
<NAME>gcal_window_new_event</NAME>
<RETURNS>void </RETURNS>
GcalWindow *self
</FUNCTION>
<FUNCTION>
<NAME>gcal_window_set_search_mode</NAME>
<RETURNS>void </RETURNS>
GcalWindow *self, gboolean enabled
@@ -561,7 +561,6 @@ GcalWeekView
<TITLE>GcalWindow</TITLE>
GCAL_TYPE_WINDOW
gcal_window_new_with_view_and_date
gcal_window_new_event
gcal_window_set_search_mode
gcal_window_set_search_query
gcal_window_open_event_by_uuid