From d3d0c653d2fc1b03e22c2a7c664ac94ceeafce60 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Thu, 29 Apr 2010 22:25:53 +0200 Subject: removal of deprecated column ids; added %B substitute for band / album artist; deleted old session management code; fixed saving column config after "edit column" --- plugins/gtkui/mainplaylist.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/gtkui/mainplaylist.c') diff --git a/plugins/gtkui/mainplaylist.c b/plugins/gtkui/mainplaylist.c index f360fecf..8ea4041c 100644 --- a/plugins/gtkui/mainplaylist.c +++ b/plugins/gtkui/mainplaylist.c @@ -283,10 +283,10 @@ main_playlist_init (GtkWidget *widget) { if (!col) { // create default set of columns add_column_helper (listview, "Playing", 50, DB_COLUMN_PLAYING, NULL, 0); - add_column_helper (listview, "Artist / Album", 150, DB_COLUMN_ARTIST_ALBUM, NULL, 0); - add_column_helper (listview, "Track №", 50, DB_COLUMN_TRACK, NULL, 1); - add_column_helper (listview, "Title / Track Artist", 150, DB_COLUMN_TITLE, NULL, 0); - add_column_helper (listview, "Duration", 50, DB_COLUMN_DURATION, NULL, 0); + add_column_helper (listview, "Artist / Album", 150, -1, "%a - %b", 0); + add_column_helper (listview, "Track №", 50, -1, "%n", 1); + add_column_helper (listview, "Title / Track Artist", 150, -1, "%t", 0); + add_column_helper (listview, "Duration", 50, -1, "%l", 0); } else { while (col) { -- cgit v1.2.3