=== modified file 'exaile.glade' --- exaile.glade 2007-09-25 04:27:57 +0000 +++ exaile.glade 2007-09-26 00:47:36 +0000 @@ -716,7 +716,10 @@ True Artist Album -Genre +Genre - Artist +Genre - Album +Year - Artist +Year - Album False True === modified file 'xl/panels/collection.py' --- xl/panels/collection.py 2007-09-07 16:44:39 +0000 +++ xl/panels/collection.py 2007-09-26 00:50:17 +0000 @@ -51,6 +51,8 @@ self.start_count = 0 self.artist_image = gtk.gdk.pixbuf_new_from_file(xl.path.get_data( 'images', 'artist.png')) + self.year_image = gtk.gdk.pixbuf_new_from_file(xl.path.get_data( + 'images', 'artist.png')) self.album_image = self.exaile.window.render_icon('gtk-cdrom', gtk.ICON_SIZE_SMALL_TOOLBAR) self.track_image = gtk.gdk.pixbuf_new_from_file(xl.path.get_data( @@ -483,6 +483,7 @@ "artist": self.artist_image, "genre": self.genre_image, "title": self.track_image, + "year": self.year_image, } if self.keyword == "": self.keyword = None @@ -491,6 +492,9 @@ ('artist', 'album', 'track', 'title'), ('album', 'track', 'title'), ('genre', 'artist', 'album', 'track', 'title'), + ('genre', 'album', 'artist', 'track', 'title'), + ('year', 'artist', 'album', 'track', 'title'), + ('year', 'album', 'artist', 'track', 'title'), ) self.order = orders[self.choice.get_active()] @@ -500,6 +504,7 @@ 'genre': 'LSTRIP_SPEC(genre)', 'title': 'LSTRIP_SPEC(title)', 'track': 'track', + 'year' : 'LSTRIP_SPEC(year)', } order_by = ', '.join((o_map[o] for o in self.order))