SVN commit 1045232 by nlecureuil: Handle the use of Hal-lock M +4 -1 halvolume.cpp --- trunk/KDE/kdelibs/solid/solid/backends/hal/halvolume.cpp #1045231:1045232 @@ -35,7 +35,10 @@ bool Volume::isIgnored() const { - if (m_device->property("volume.ignore").toBool()) { + HalDevice lock("/org/freedesktop/Hal/devices/computer"); + bool isLocked = lock.property("info.named_locks.Global.org.freedesktop.Hal.Device.Storage.locked").toBool(); + + if (m_device->property("volume.ignore").toBool() || isLocked ){ return true; }