synced with rev 1.11 from OpenTracker cvs, ignore read only volumes when building the navigation menu for the unified Trash folder

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17052 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2006-04-08 16:56:38 +00:00
parent e4db389d49
commit 995303fab0
1 changed files with 1 additions and 1 deletions

View File

@ -421,7 +421,7 @@ BNavMenu::StartBuildingItemList()
fContainer = new EntryIteratorList();
while (volRoster.GetNextVolume(&volume) == B_OK) {
if (!volume.IsPersistent())
if (volume.IsReadOnly() || !volume.IsPersistent())
continue;
BDirectory trashDir;