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
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue