mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
reordered AlbumDialog window title
This commit is contained in:
parent
9e3f117041
commit
a9069a2950
12
bin/mpdevil
12
bin/mpdevil
@ -1869,10 +1869,18 @@ class AlbumDialog(Gtk.Dialog): # also used by 'MainCover'
|
||||
|
||||
# title
|
||||
duration=ClientHelper.calc_display_length(songs)
|
||||
if use_csd:
|
||||
if year == "":
|
||||
self.set_title("{} - {} ({})".format(album_artist, album, duration))
|
||||
self.set_title(album)
|
||||
else:
|
||||
self.set_title("{} - {} ({}) ({})".format(album_artist, album, year, duration))
|
||||
self.set_title("{} ({})".format(album, year))
|
||||
header_bar=self.get_header_bar()
|
||||
header_bar.set_subtitle("{} ({})".format(album_artist, duration))
|
||||
else:
|
||||
if year == "":
|
||||
self.set_title("{} - {} ({})".format(album, album_artist, duration))
|
||||
else:
|
||||
self.set_title("{} ({}) - {} ({})".format(album, year, album_artist, duration))
|
||||
|
||||
# store
|
||||
# (track, title (artist), duration, file)
|
||||
|
Loading…
Reference in New Issue
Block a user