From 0e3c2af69aba177725870532e9a79e176c4b5dc4 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 21 Nov 2015 22:45:43 +0100 Subject: [PATCH] cont'd 20262abe (GUI to keep all playlists) --- gtk2_ardour/editor.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 48cb20677b..e29cc6a723 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -4160,12 +4160,18 @@ Editor::playlist_deletion_dialog (boost::shared_ptr 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;