mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
delegate status info to widget implementation
This commit is contained in:
parent
d752fe18fb
commit
549c3fd946
4 changed files with 14 additions and 24 deletions
|
|
@ -74,9 +74,9 @@ impl Content {
|
|||
/// 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 {
|
||||
pub fn to_status_mime(&self, mime: &str) -> Status {
|
||||
self.clean();
|
||||
let status = Status::new_mime();
|
||||
let status = Status::new_mime(mime);
|
||||
self.gobject.append(status.gobject());
|
||||
status
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue