cont'd 20262abe
(GUI to keep all playlists)
This commit is contained in:
parent
8a26e561c5
commit
0e3c2af69a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user