Store notifications
This commit is contained in:
parent
2396ebbaa9
commit
17df83e611
3 changed files with 46 additions and 22 deletions
|
|
@ -1,9 +1,5 @@
|
|||
use cascade::cascade;
|
||||
use gtk4::{
|
||||
glib::{self, clone},
|
||||
prelude::*,
|
||||
subclass::prelude::*,
|
||||
};
|
||||
use gtk4::{glib, prelude::*, subclass::prelude::*};
|
||||
|
||||
use crate::deref_cell::DerefCell;
|
||||
|
||||
|
|
@ -54,4 +50,8 @@ impl NotificationPopover {
|
|||
fn inner(&self) -> &NotificationPopoverInner {
|
||||
NotificationPopoverInner::from_instance(self)
|
||||
}
|
||||
|
||||
pub fn set_body(&self, body: &str) {
|
||||
self.inner().label.set_label(body);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue