chiark / gitweb /
Disobedience login window now has a 'remote' switch. When off it will
[disorder] / disobedience / recent.c
index 49333e7109b59af59d0db5de88638f7345ec8071..788b824a805a406360da2800b89622708b504f42 100644 (file)
 
 /** @brief Update the recently played list */
 static void recent_completed(void attribute((unused)) *v,
-                             const char *error,
+                             const char *err,
                              struct queue_entry *q) {
-  if(error) {
-    popup_protocol_error(0, error);
+  if(err) {
+    popup_protocol_error(0, err);
     return;
   }
   /* The recent list is backwards compared to what we wanted */
@@ -78,6 +78,7 @@ static const struct queue_column recent_columns[] = {
 /** @brief Pop-up menu for recently played list */
 static struct menuitem recent_menuitems[] = {
   { "Track properties", ql_properties_activate, ql_properties_sensitive,0, 0 },
+  { "Play track", ql_play_activate, ql_play_sensitive, 0, 0 },
   { "Select all tracks", ql_selectall_activate, ql_selectall_sensitive, 0, 0 },
   { "Deselect all tracks", ql_selectnone_activate, ql_selectnone_sensitive, 0, 0 },
 };