Changes to the MediaPlayer's playlist window's menu options Remove, Remove all, Move to Trash.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41122 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jonas Sundström
2011-03-26 23:21:13 +00:00
parent 5b82a6b615
commit e28afdf1ea
3 changed files with 17 additions and 26 deletions
+1 -1
View File
@@ -2176,7 +2176,7 @@ MainWin::_KeyDown(BMessage* msg)
case 't': // t for Trash
if ((modifiers() & B_COMMAND_KEY) != 0) {
BAutolock _(fPlaylist);
BMessage removeMessage(M_PLAYLIST_REMOVE_AND_PUT_INTO_TRASH);
BMessage removeMessage(M_PLAYLIST_MOVE_TO_TRASH);
removeMessage.AddInt32("playlist index",
fPlaylist->CurrentItemIndex());
fPlaylistWindow->PostMessage(&removeMessage);