ocarina: Add track number to gui
It's helpful to see, especially since it shows how everything is sorted.
This commit is contained in:
parent
e8f633c863
commit
2f6313fe95
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue