mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
begin global actions config implementation
This commit is contained in:
parent
f803d89f52
commit
9e481f78ce
9 changed files with 58 additions and 68 deletions
|
|
@ -1,5 +1,7 @@
|
|||
mod action;
|
||||
mod database;
|
||||
|
||||
use action::Action;
|
||||
use database::Database;
|
||||
|
||||
use adw::ApplicationWindow;
|
||||
|
|
@ -29,6 +31,8 @@ impl Widget {
|
|||
.maximized(MAXIMIZED)
|
||||
.build();
|
||||
|
||||
Action::new_for(&gobject);
|
||||
|
||||
// Register actions
|
||||
for action in actions {
|
||||
gobject.add_action(action);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue