mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-29 20:44:25 +00:00
init actions
This commit is contained in:
parent
6b70606637
commit
8aab10c53e
14
src/main.cpp
14
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",
|
||||
"<Primary>q"
|
||||
);
|
||||
|
||||
// Launch browser component
|
||||
return app->make_window_and_run<app::Browser>(
|
||||
argc,
|
||||
|
Loading…
x
Reference in New Issue
Block a user