Run download cleaner on startup. Closes #3.
This commit is contained in:
parent
2051f0f58e
commit
c92e40e3cf
@ -92,6 +92,11 @@ fn build_ui(app: >k::Application) {
|
||||
glib::Continue(false)
|
||||
}));
|
||||
|
||||
gtk::idle_add(move || {
|
||||
let _ = checkup();
|
||||
glib::Continue(false)
|
||||
});
|
||||
|
||||
// Get the headerbar
|
||||
let header = headerbar::get_headerbar(&stack);
|
||||
window.set_titlebar(&header);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user