Reformatted track info in toolbar

This commit is contained in:
coderkun 2012-07-23 13:56:43 +02:00
parent 262e99beb9
commit d17ae08f03

View file

@ -311,7 +311,8 @@ class Toolbar(Gtk.Toolbar):
def set_album(self, album, pos):
info = "{0} {1} {2} {3}".format(album.get_tracks()[pos].get_title(), pos+1, album.get_title(), album.get_artist())
info = "{0} {1} ({2}. {3})".format(album.get_artist(), album.get_title(), pos+1, album.get_tracks()[pos].get_title())
#info = "{0} {1} {2} {3}".format(album.get_tracks()[pos].get_title(), pos+1, album.get_title(), album.get_artist())
self._track_label.set_text(info)