chiark / gitweb /
Drag and drop queue rearrangement. Currently you can only move one
[disorder] / disobedience / added.c
index 9373af333bca8299d8ec9884d6f22f1ebc05b777..038c43964179783b030407072b56beb66f33914d 100644 (file)
@@ -70,10 +70,10 @@ static void added_init(void) {
 
 /** @brief Columns for the new tracks list */
 static const struct queue_column added_columns[] = {
-  { "Artist", column_namepart, "artist", 0 },
-  { "Album",  column_namepart, "album",  0 },
-  { "Title",  column_namepart, "title",  0 },
-  { "Length", column_length,   0,        1 }
+  { "Artist", column_namepart, "artist", COL_EXPAND|COL_ELLIPSIZE },
+  { "Album",  column_namepart, "album",  COL_EXPAND|COL_ELLIPSIZE },
+  { "Title",  column_namepart, "title",  COL_EXPAND|COL_ELLIPSIZE },
+  { "Length", column_length,   0,        COL_RIGHT }
 };
 
 /** @brief Pop-up menu for new tracks list */
@@ -85,6 +85,7 @@ static struct queue_menuitem added_menuitems[] = {
 };
 
 struct queuelike ql_added = {
+  .name = "added",
   .init = added_init,
   .columns = added_columns,
   .ncolumns = sizeof added_columns / sizeof *added_columns,