draft mime issue status page

This commit is contained in:
yggverse 2024-12-12 09:19:55 +02:00
parent 80684e0316
commit 596589a2f4
3 changed files with 33 additions and 0 deletions

View file

@ -71,6 +71,16 @@ impl Content {
status
}
/// Set new `content::Status` component for `Self` with new `status::Mime` issue preset
///
/// * action removes previous children component from `Self`
pub fn to_status_mime(&self) -> Status {
self.clean();
let status = Status::new_mime();
self.gobject.append(status.gobject());
status
}
/// Set new `content::Status` component for `Self` with new `status::Identity` preset
///
/// * action removes previous children component from `Self`