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:
parent
e4db389d49
commit
995303fab0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user