Retire app-menu

For https://gitlab.gnome.org/GNOME/Initiatives/issues/4,
the application menu is being retired, with it's contents
being moved into the in-window primary window.

When removing a menu, the shortcuts for it's actions (if defined
in the menu) are also removed. The "Quit" shortcut is now
defined in src/gcal-window.c.

Related to https://gitlab.gnome.org/GNOME/gnome-calendar/issues/319
This commit is contained in:
Christopher Davis
2018-11-06 13:29:17 +00:00
committed by Georges Basile Stavracas Neto
parent 3f42719ebe
commit 5cffec4456
3 changed files with 40 additions and 23 deletions
+1
View File
@@ -1570,6 +1570,7 @@ gcal_window_init (GcalWindow *self)
gcal_window_add_accelerator (app, "win.change-view(2)", "<Ctrl>2");
gcal_window_add_accelerator (app, "win.change-view(3)", "<Ctrl>3");
gcal_window_add_accelerator (app, "win.toggle-search-bar", "<Ctrl>f");
gcal_window_add_accelerator (app, "app.quit", "<Ctrl>q");
}
/**