mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
make initial update action
This commit is contained in:
parent
0557d5d099
commit
2a985a6fa1
1 changed files with 4 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ use main::Main;
|
||||||
|
|
||||||
use gtk::{
|
use gtk::{
|
||||||
gio::SimpleAction,
|
gio::SimpleAction,
|
||||||
prelude::{ActionMapExt, GtkWindowExt},
|
prelude::{ActionExt, ActionMapExt, GtkWindowExt},
|
||||||
Application, ApplicationWindow,
|
Application, ApplicationWindow,
|
||||||
};
|
};
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
@ -135,6 +135,9 @@ impl Browser {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Make initial update @TODO move to the app init level
|
||||||
|
action_update.activate(None);
|
||||||
|
|
||||||
// Return activated browser struct
|
// Return activated browser struct
|
||||||
Self {
|
Self {
|
||||||
// db,
|
// db,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue