ocarina: Add track number to gui

It's helpful to see, especially since it shows how everything is sorted.
This commit is contained in:
Bryan Schumaker 2011-05-25 23:05:05 -04:00
parent e8f633c863
commit 2f6313fe95
2 changed files with 4 additions and 4 deletions

View File

@ -2,9 +2,9 @@
import gtk
attrs = ("id", "title", "lenstr", "artist", "album", "year")
columns = ["Id", "Title", "Length", "Artist", "Album", "Year"]
col_width = [ 2, 300, 60, 125, 125, 50]
attrs = ("id", "track", "title", "lenstr", "artist", "album", "year")
columns = ["Id", "#", "Title", "Length", "Artist", "Album", "Year"]
col_width = [ 2, 20, 300, 60, 125, 125, 50]
cell = gtk.CellRendererText()
cell.set_fixed_height_from_font(1)

View File

@ -4,4 +4,4 @@ import gtk
class List(gtk.ListStore):
def __init__(self):
gtk.ListStore.__init__(self, int, str, str, str, str, int)
gtk.ListStore.__init__(self, int, str, str, str, str, str, int)