|
|
@ -7,7 +7,7 @@ int main( |
|
|
|
) { |
|
|
|
) { |
|
|
|
// Init app
|
|
|
|
// Init app
|
|
|
|
auto app = Gtk::Application::create( |
|
|
|
auto app = Gtk::Application::create( |
|
|
|
APPLICATION_ID |
|
|
|
"io.github.yggverse.Yoda" |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
// Init actions
|
|
|
|
// Init actions
|
|
|
@ -19,6 +19,7 @@ int main( |
|
|
|
) |
|
|
|
) |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Init accels
|
|
|
|
app->set_accel_for_action( |
|
|
|
app->set_accel_for_action( |
|
|
|
"app.quit", |
|
|
|
"app.quit", |
|
|
|
"<Primary>q" |
|
|
|
"<Primary>q" |
|
|
@ -27,6 +28,7 @@ int main( |
|
|
|
// Launch browser component
|
|
|
|
// Launch browser component
|
|
|
|
return app->make_window_and_run<app::Browser>( |
|
|
|
return app->make_window_and_run<app::Browser>( |
|
|
|
argc, |
|
|
|
argc, |
|
|
|
argv |
|
|
|
argv, |
|
|
|
|
|
|
|
app |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |