* 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:
@@ -467,11 +467,7 @@ Playlist::AppendRefs(const BMessage* refsReceivedMessage, int32 appendIndex)
|
|||||||
|
|
||||||
if (!subPlaylist.IsEmpty()) {
|
if (!subPlaylist.IsEmpty()) {
|
||||||
// Add to recent documents
|
// Add to recent documents
|
||||||
BEntry entry(&ref, true);
|
be_roster->AddToRecentDocuments(&ref, kAppSig);
|
||||||
if (entry.IsDirectory())
|
|
||||||
be_roster->AddToRecentFolders(&ref, kAppSig);
|
|
||||||
else
|
|
||||||
be_roster->AddToRecentDocuments(&ref, kAppSig);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int32 subPlaylistCount = subPlaylist.CountItems();
|
int32 subPlaylistCount = subPlaylist.CountItems();
|
||||||
|
|||||||
Reference in New Issue
Block a user