diff --git a/ocarina/sources/column.py b/ocarina/sources/column.py index fdb45912..15e79785 100644 --- a/ocarina/sources/column.py +++ b/ocarina/sources/column.py @@ -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) diff --git a/ocarina/sources/list.py b/ocarina/sources/list.py index 30259458..45b7ed8f 100644 --- a/ocarina/sources/list.py +++ b/ocarina/sources/list.py @@ -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)