mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
draft mime issue status page
This commit is contained in:
parent
80684e0316
commit
596589a2f4
3 changed files with 33 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ pub mod download;
|
|||
mod failure;
|
||||
mod identity;
|
||||
mod loading;
|
||||
mod mime;
|
||||
|
||||
use adw::StatusPage;
|
||||
use gtk::gio::{Cancellable, File};
|
||||
|
|
@ -34,6 +35,15 @@ impl Status {
|
|||
}
|
||||
}
|
||||
|
||||
/// Create new mime issue preset
|
||||
///
|
||||
/// Useful as placeholder widget for mime issue handlers
|
||||
pub fn new_mime() -> Self {
|
||||
Self {
|
||||
gobject: mime::new_gobject(),
|
||||
}
|
||||
}
|
||||
|
||||
/// Create new identity preset
|
||||
///
|
||||
/// Useful as placeholder for 60 status code
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue