[Panel-devel] soliddevice available space

Alex Merry huntedhacker at tiscali.co.uk
Mon Oct 8 18:57:40 CEST 2007


On Monday 08 Oct 2007, Aaron J. Seigo wrote:
> On Monday 08 October 2007, Petri Damstén wrote:
> > Hi,
> >
> > soliddevice data engine does not return free space for hdd. In hdd
> > applet I now get it with statfs call. Could this be moved to the
> > dataengine?
>
> IIRC, Kevin-of-Solid (he loves it when you call him that) said that
> such information should come from elsewhere, e.g. libksysguard ... as
> far as i'm concerned, i think this will be a common request and the
> data, regardless of where it comes from, should be added to the data
> engine. however, i don't think we should be using statfs calls
> directly, but KMountPoint (if necessary, does Solid provide the mount
> point or just the device?) and KDiskFreeSpace, both of which are in
> libkio ... example usage can be seen in
> kdebase/apps/dolphin/statusbarspaceinfo.cpp

Or, indeed in the Places data engine.

Alex



-- 
KDE: http://www.kde.org
Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071008/a8ab971f/attachment-0001.pgp 


More information about the Panel-devel mailing list