* Give a chance to volume/disks icons to save their position when changing the

"Show Disks/Volumes Icon" preference. Fixes #1559
* Automatic white space cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32513 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Alexandre Deckner 2009-08-19 13:19:31 +00:00
parent 3074019e96
commit c5b7a0fe6a
1 changed files with 15 additions and 14 deletions

View File

@ -266,6 +266,7 @@ void
DesktopPoseView::ShowVolumes(bool visible, bool showShared)
{
if (LockLooper()) {
SavePoseLocations();
if (!visible)
RemoveRootPoses();
else