mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-08-28 04:19:40 +00:00
Add app menu accelerators when not in shell
This commit is contained in:
parent
d745b7b992
commit
7e4f41f006
|
@ -282,6 +282,12 @@ public class Application : Gtk.Application
|
|||
set_app_menu(menu);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
add_accelerator("<Primary>N", "app.new", null);
|
||||
add_accelerator("<Primary>Q", "app.quit", null);
|
||||
add_accelerator("F1", "app.help", null);
|
||||
}
|
||||
|
||||
add_accelerator("<Control>F", "win.search", null);
|
||||
add_accelerator("<Control>W", "win.close", null);
|
||||
|
|
Loading…
Reference in a new issue