Your wish is my command: now only removable read-only volumes have their
desktops integrated in Tracker. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19947 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c3ccb39319
commit
5f5d917ad1
@ -9258,8 +9258,9 @@ BPoseView::ShouldIntegrateDesktop(const BVolume &volume)
|
||||
if (!settings.IntegrateNonBootBeOSDesktops())
|
||||
return false;
|
||||
|
||||
// That's obviously what makes a BeOS desktop :-)
|
||||
return volume.KnowsQuery() && volume.KnowsAttr() && volume.KnowsMime();
|
||||
// Only removable read-only volumes should have their desktops integrated
|
||||
return volume.IsRemovable() && volume.IsReadOnly()
|
||||
&& volume.KnowsQuery() && volume.KnowsAttr() && volume.KnowsMime();
|
||||
}
|
||||
|
||||
|
||||
|
@ -172,7 +172,7 @@ TTrackerState::LoadSettingsIfNeeded()
|
||||
Add(fMountSharedVolumesOntoDesktop =
|
||||
new BooleanValueSetting("MountSharedVolumesOntoDesktop", false));
|
||||
Add(fIntegrateNonBootBeOSDesktops = new BooleanValueSetting
|
||||
("IntegrateNonBootBeOSDesktops", false));
|
||||
("IntegrateNonBootBeOSDesktops", true));
|
||||
Add(fIntegrateAllNonBootDesktops = new BooleanValueSetting
|
||||
("IntegrateAllNonBootDesktops", false));
|
||||
Add(fEjectWhenUnmounting = new BooleanValueSetting("EjectWhenUnmounting", true));
|
||||
|
Loading…
Reference in New Issue
Block a user