remove Ctrl+Q
This commit is contained in:
parent
5a4f114083
commit
69f79420dc
1 changed files with 0 additions and 12 deletions
|
@ -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 ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue