mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
fixed window title
This commit is contained in:
parent
055c7fd522
commit
6d89695b3e
@ -3221,7 +3221,7 @@ class MainWindow(Gtk.ApplicationWindow):
|
|||||||
self.header_bar.set_title(song["title"]+" - "+song["artist"])
|
self.header_bar.set_title(song["title"]+" - "+song["artist"])
|
||||||
self.header_bar.set_subtitle(song["album"]+date)
|
self.header_bar.set_subtitle(song["album"]+date)
|
||||||
else:
|
else:
|
||||||
self.set_title(song["title"]+""+song["artist"]+" - "+song["album"]+date)
|
self.set_title(song["title"]+" - "+song["artist"]+" - "+song["album"]+date)
|
||||||
if self.settings.get_boolean("send-notify"):
|
if self.settings.get_boolean("send-notify"):
|
||||||
if not self.is_active() and self.client.status()["state"] == "play":
|
if not self.is_active() and self.client.status()["state"] == "play":
|
||||||
notify=Notify.Notification.new(song["title"], song["artist"]+"\n"+song["album"]+date)
|
notify=Notify.Notification.new(song["title"], song["artist"]+"\n"+song["album"]+date)
|
||||||
|
Loading…
Reference in New Issue
Block a user