summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-11-21 22:45:43 +0100
committerRobin Gareus <robin@gareus.org>2015-11-21 22:45:43 +0100
commit0e3c2af69aba177725870532e9a79e176c4b5dc4 (patch)
tree1156ed1196be1544469275593fd4f8dc7ddf9f47 /gtk2_ardour/editor.cc
parent8a26e561c52d7b4afffc5dd10a464cace9ff2950 (diff)
cont'd 20262abe (GUI to keep all playlists)
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r--gtk2_ardour/editor.cc8
1 files changed, 7 insertions, 1 deletions
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<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;