init actions

This commit is contained in:
yggverse 2024-08-11 08:07:00 +03:00
parent 6b70606637
commit 8aab10c53e

View File

@ -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",
"<Primary>q"
);
// Launch browser component
return app->make_window_and_run<app::Browser>(
argc,