* We actually need to add the folders as documents, too, or else the mechanism

won't work. That's not really satisfying, but works okay.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38898 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2010-10-08 15:10:11 +00:00
parent 7bf8d24715
commit fcdc5be4a6
1 changed files with 1 additions and 5 deletions

View File

@ -467,11 +467,7 @@ Playlist::AppendRefs(const BMessage* refsReceivedMessage, int32 appendIndex)
if (!subPlaylist.IsEmpty()) {
// Add to recent documents
BEntry entry(&ref, true);
if (entry.IsDirectory())
be_roster->AddToRecentFolders(&ref, kAppSig);
else
be_roster->AddToRecentDocuments(&ref, kAppSig);
be_roster->AddToRecentDocuments(&ref, kAppSig);
}
int32 subPlaylistCount = subPlaylist.CountItems();