summaryrefslogtreecommitdiff
path: root/plugins/gtkui/mainplaylist.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-04-29 22:25:53 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-04-29 23:07:11 +0200
commitd3d0c653d2fc1b03e22c2a7c664ac94ceeafce60 (patch)
treee3af0f89b92f0764b6ae4ae5f10e0d4ada337b9f /plugins/gtkui/mainplaylist.c
parent2b22ab371c2a4e914fa6bb2fce6b8d5a7c30b163 (diff)
removal of deprecated column ids;
added %B substitute for band / album artist; deleted old session management code; fixed saving column config after "edit column"
Diffstat (limited to 'plugins/gtkui/mainplaylist.c')
-rw-r--r--plugins/gtkui/mainplaylist.c8
1 files changed, 4 insertions, 4 deletions
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) {