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:
14
bin/mpdevil
14
bin/mpdevil
@ -1869,10 +1869,18 @@ class AlbumDialog(Gtk.Dialog): # also used by 'MainCover'
|
|||||||
|
|
||||||
# title
|
# title
|
||||||
duration=ClientHelper.calc_display_length(songs)
|
duration=ClientHelper.calc_display_length(songs)
|
||||||
if year == "":
|
if use_csd:
|
||||||
self.set_title("{} - {} ({})".format(album_artist, album, duration))
|
if year == "":
|
||||||
|
self.set_title(album)
|
||||||
|
else:
|
||||||
|
self.set_title("{} ({})".format(album, year))
|
||||||
|
header_bar=self.get_header_bar()
|
||||||
|
header_bar.set_subtitle("{} ({})".format(album_artist, duration))
|
||||||
else:
|
else:
|
||||||
self.set_title("{} - {} ({}) ({})".format(album_artist, album, year, duration))
|
if year == "":
|
||||||
|
self.set_title("{} - {} ({})".format(album, album_artist, duration))
|
||||||
|
else:
|
||||||
|
self.set_title("{} ({}) - {} ({})".format(album, year, album_artist, duration))
|
||||||
|
|
||||||
# store
|
# store
|
||||||
# (track, title (artist), duration, file)
|
# (track, title (artist), duration, file)
|
||||||
|
Reference in New Issue
Block a user