mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
withdraw old notifications
This commit is contained in:
parent
13d27b15fa
commit
ddbd490de4
@ -3735,6 +3735,8 @@ class MainWindow(Gtk.ApplicationWindow):
|
||||
elif (cover_binary:=self._client.get_cover_binary(song["file"])) is not None:
|
||||
notify.set_icon(Gio.BytesIcon.new(GLib.Bytes.new(cover_binary)))
|
||||
self.get_application().send_notification("title-change", notify)
|
||||
else:
|
||||
self.get_application().withdraw_notification("title-change")
|
||||
else:
|
||||
self.set_title("mpdevil")
|
||||
if self._use_csd:
|
||||
|
Loading…
Reference in New Issue
Block a user