We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 263f2d2 commit 8422d15Copy full SHA for 8422d15
src/Application.vala
@@ -36,6 +36,11 @@ public class Badger.Application : Gtk.Application {
36
Intl.bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
37
Intl.bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
38
Intl.textdomain (GETTEXT_PACKAGE);
39
+
40
+ var quit_action = new SimpleAction ("quit", null);
41
+ add_action (quit_action);
42
+ set_accels_for_action ("app.quit", {"<Control>q"});
43
+ quit_action.activate.connect (quit);
44
}
45
46
protected override void activate () {
0 commit comments