diff options
author | Bastien Nocera <hadess@hadess.net> | 2019-02-04 12:29:05 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2019-02-05 11:18:23 +0100 |
commit | 02cc0e0e4d83fe1ad978ec2729a5d96948700b9b (patch) | |
tree | 1401db4b7c0dc1244e72e6c833d9d251d200f48d /src/totem-menu.c | |
parent | 0af7f3c9a485d3778459e7e92e407766a9da6d1a (diff) | |
download | totem-02cc0e0e4d83fe1ad978ec2729a5d96948700b9b.tar.gz |
main: Remove app menu
Move items from the app menu to a menu button in the main window. This
new hamburger menu will show in the content navigation/selection view
and include the same items that were available in the app menu.
As we do not want 2 hamburger menus in the player view, duplicate the
preferences and keyboard shortcuts menu items in the player menu.
See:
https://gitlab.gnome.org/GNOME/Initiatives/wikis/App-Menu-Retirement
Closes: #265
Diffstat (limited to 'src/totem-menu.c')
-rw-r--r-- | src/totem-menu.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/totem-menu.c b/src/totem-menu.c index cc7cbedb9..fd86ef62b 100644 --- a/src/totem-menu.c +++ b/src/totem-menu.c @@ -341,7 +341,6 @@ totem_app_actions_setup (Totem *totem) void totem_app_menu_setup (Totem *totem) { - GMenuModel *appmenu; char *accels[] = { NULL, NULL }; const char * const shortcuts_accels[] = { "<Ctrl>H", @@ -350,9 +349,6 @@ totem_app_menu_setup (Totem *totem) NULL }; - appmenu = (GMenuModel *)gtk_builder_get_object (totem->xml, "appmenu"); - gtk_application_set_app_menu (GTK_APPLICATION (totem), appmenu); - /* FIXME: https://bugzilla.gnome.org/show_bug.cgi?id=700085 */ accels[0] = "<Primary>G"; gtk_application_set_accels_for_action (GTK_APPLICATION (totem), "app.next-angle", (const char * const *) accels); |