remove device-is-busy property
authorDavid Zeuthen <davidz@redhat.com>
Thu, 2 Apr 2009 19:14:43 +0000 (15:14 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Thu, 2 Apr 2009 19:14:43 +0000 (15:14 -0400)
commite1e9f821a896065262581535e0131870a8e78abf
treefe5aeaa190999833ce2cc8727ce1f3469b6da2a8
parentbdeed403805ca32cb7d53db5b80ced223b64d04b
remove device-is-busy property

This should never have been a property since

 - we are not really ready to make that kind of guarantee; another
   program may have the device open and then we're going to fail
   with EBUSY and return a Busy D-Bus error

 - it is computed on demand and that makes it difficult to determine
   when it changes value and thus trigger a PropertyChanged event

Currently this property is not used by gnome-disk-utility. If it turns
out that we need something like this we can add a Device.IsBusy()
method.
src/devkit-disks-device.c
src/org.freedesktop.DeviceKit.Disks.Device.xml
tools/devkit-disks.c