Add app menu accelerators when not in shell

This commit is contained in:
Jesse van den Kieboom 2014-01-05 18:23:56 +01:00
parent d745b7b992
commit 7e4f41f006

View file

@ -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);