This commit is contained in:
guinux 2017-02-20 21:21:10 +01:00
parent e9b8a03acf
commit f4bc55bf01
2 changed files with 10 additions and 0 deletions

View File

@ -46,6 +46,11 @@ namespace Pamac {
msg.destroy ();
} else {
manager_window = new ManagerWindow (this);
var action = new SimpleAction ("quit", null);
action.activate.connect (() => {this.quit ();});
this.add_action (action);
string[] accels = {"<Control>Q", "<Control>W"};
this.set_accels_for_action ("app.quit", accels);
}
}

View File

@ -46,6 +46,11 @@ namespace Pamac {
msg.destroy ();
} else {
updater_window = new UpdaterWindow (this);
var action = new SimpleAction ("quit", null);
action.activate.connect (() => {this.quit ();});
this.add_action (action);
string[] accels = {"<Control>Q", "<Control>W"};
this.set_accels_for_action ("app.quit", accels);
}
}