Run download cleaner on startup. Closes #3.

This commit is contained in:
Jordan Petridis 2017-11-28 10:23:19 +02:00
parent 2051f0f58e
commit c92e40e3cf
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6

View File

@ -92,6 +92,11 @@ fn build_ui(app: &gtk::Application) {
glib::Continue(false) glib::Continue(false)
})); }));
gtk::idle_add(move || {
let _ = checkup();
glib::Continue(false)
});
// Get the headerbar // Get the headerbar
let header = headerbar::get_headerbar(&stack); let header = headerbar::get_headerbar(&stack);
window.set_titlebar(&header); window.set_titlebar(&header);