cont'd 20262abe (GUI to keep all playlists)
authorRobin Gareus <robin@gareus.org>
Sat, 21 Nov 2015 21:45:43 +0000 (22:45 +0100)
committerRobin Gareus <robin@gareus.org>
Sat, 21 Nov 2015 21:45:43 +0000 (22:45 +0100)
gtk2_ardour/editor.cc

index 48cb20677ba9bf82f99408e8f9b369d0621e7127..e29cc6a723dd561fb6fdcc072a74e92cee8e7678 100644 (file)
@@ -4160,12 +4160,18 @@ Editor::playlist_deletion_dialog (boost::shared_ptr<Playlist> pl)
 
        label.show ();
 
-       dialog.add_button (_("Delete All Unused"), RESPONSE_YES);
+       dialog.add_button (_("Delete All Unused"), RESPONSE_YES); // needs clarification. this and all remaining ones
        dialog.add_button (_("Delete Playlist"), RESPONSE_ACCEPT);
        dialog.add_button (_("Keep Playlist"), RESPONSE_REJECT);
+       dialog.add_button (_("Keep Remaining"), RESPONSE_NO); // ditto
        dialog.add_button (_("Cancel"), RESPONSE_CANCEL);
 
        switch (dialog.run ()) {
+       case RESPONSE_NO:
+               /* keep this and all remaining ones */
+               return -2;
+               break;
+
        case RESPONSE_YES:
                /* delete this and all others */
                return 2;