fome (failed) experiments with the devicenotifier applet

Marco Martin notmart at gmail.com
Sun Mar 9 19:38:06 CET 2008


Hi all,
i was trying to add the following feature to the device notifier:
adding an intuitive way to unmount devices from the device notifier applet by 
adding a second column to the device list with an eject icon for mounted 
devices. (column that could be useful also if device notifier will support 
other kind of devices, like turn off a webcam or something like that)

but i am stuck in an ugly series of problems, i wanted to write about it when 
i had some useful code, but i really don't know how to make it work :(
i wanted to put the eject icon only on mounted devices, so i have to watch the 
mount status of the device, i suppose it could be done with the soliddevice 
dataengine i suppose, if i understood correctly, giving it a query with an 
udi like connectSource(udi, this); it would return the info for the device 
with that udi, but it doesn't seem to work, i'm missing something or there 
are problems in that engine?

is the right way to do it with soliddevice engine? or should be used solid 
directly? or additional info added to the hotplug engine?

i'm also having some visual problems, i had tried making the view a treeview 
with two columns, but the second column sometimes appears overlapping to the 
first and sometimes all becomes too large adding an horizontal scrooll bar
i'm wondering if making the view two phisical columns is the berter way, but 
this seems to be  secondary problem...

Cheers,
Marco Martin 


More information about the Panel-devel mailing list