fome (failed) experiments with the devicenotifier applet
Marco Martin
notmart at gmail.com
Tue Mar 11 13:48:05 CET 2008
On Tuesday 11 March 2008, Christopher Blauvelt wrote:
> On Mon, Mar 10, 2008 at 9:53 PM, Christopher Blauvelt <cblauvelt at gmail.com>
>
> wrote:
> > m_solidDeviceEngine->connectSource(name, this);
> >
> > > (where name is an udi of a device) doesn't seem to work
> > > so dataUpdated seems to never be called by an update of the soliddevice
> > > engine
> >
> > Right now it's set to only index devices that are called through a
> > listing using a Solid Predicate. That is if you want a StorageVolume
> > device you would query for "IS StorageVolume" then you'd request one of
> > the devices in the returned list. I can change the engine to connect to
> > any device if that's too much of an inconveniance.
>
> I went ahead and did it anyway. Let me know if you have any trouble.
ok, thanks, maybe in this way is more intuitive.
it turns out the only problem i couldn't figure out that i had to list the
devices before querying one in particular :)
Cheers,
Marco Martin
More information about the Panel-devel
mailing list