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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user