diff --git a/src/main.cpp b/src/main.cpp index ea53d416..c7fbbb11 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -10,6 +10,20 @@ int main( APPLICATION_ID ); + // Init actions + app->add_action( + "quit", + sigc::mem_fun( + *app, + &Gtk::Application::quit + ) + ); + + app->set_accel_for_action( + "app.quit", + "q" + ); + // Launch browser component return app->make_window_and_run( argc,