[Panel-devel] kalming kickoff
Aaron J. Seigo
aseigo at kde.org
Mon Nov 12 19:33:54 CET 2007
On Monday 12 November 2007, Kevin Ottens wrote:
> Le lundi 12 novembre 2007, Aaron J. Seigo a écrit :
> > i'm not a huge fan of the "just make it configurable" approach when
> > avoidable.
>
> Exactly, in fact using the path probably makes sense for non removable, non
> hotpluggable devices for a start. One can easily get this information by
> using the StorageDrive interface on the parent device of a StorageVolume.
>
> (StorageDrive has such hotpluggable and removable properties)
thanks for the directon.
i've made these changes locally, but have some remaining questions...
if the device isn't currently accessible, e.g. it's an unmounted CD/DVD/etc,
i'd like to say what kind of device it is since it will have neither a
sensible path nor a sensible title. this information seems to be in
StorageDrive::DriveType? is there a way to get a translated string out for a
given DriveType (i couldn't find such a thing)? and is it possible to get a
StorageDrive oject for a non-mounted drive?
(i'm having issues with device.as<Solid::StorageDrive> in general... it
returning a null ptr in all cases ... )
i also notice that we don't seem to be responding to hotplug events in
kickoff. i'll have to fix that today as well.
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071112/2d9250b0/attachment.pgp
More information about the Panel-devel
mailing list