remove Ctrl+Q

This commit is contained in:
Artem Anufrij 2020-11-17 23:05:02 +01:00
parent 5a4f114083
commit 69f79420dc

View file

@ -46,18 +46,6 @@ namespace Webpin {
construct {
this.flags |= GLib.ApplicationFlags.HANDLES_OPEN;
this.flags |= ApplicationFlags.HANDLES_COMMAND_LINE;
var action_quit = new SimpleAction ("quit", null);
add_action (action_quit);
string[] accel_quit = {"<Control>q"};
set_accels_for_action ("app.quit", accel_quit);
action_quit.activate.connect (
() => {
if (mainwindow != null) {
mainwindow.destroy ();
}
});
create_cache_folders ();
}