window: Toast priority high to push old toast to queue.
This commit is contained in:
parent
eb94683d1f
commit
ffb2e1064d
1 changed files with 1 additions and 0 deletions
|
|
@ -562,6 +562,7 @@ impl LpWindow {
|
|||
let toast = adw::Toast::builder()
|
||||
.title(gettext("Image moved to trash"))
|
||||
.button_label(gettext("Undo"))
|
||||
.priority(adw::ToastPriority::High)
|
||||
.build();
|
||||
toast.connect_button_clicked(glib::clone!(@weak self as win => move |_| {
|
||||
let path = path.clone();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue