On Sun, Mar 9, 2008 at 1:38 PM, Marco Martin &lt;<a href="mailto:notmart@gmail.com">notmart@gmail.com</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>
i was trying to add the following feature to the device notifier:<br>
adding an intuitive way to unmount devices from the device notifier applet by<br>
adding a second column to the device list with an eject icon for mounted<br>
devices. (column that could be useful also if device notifier will support<br>
other kind of devices, like turn off a webcam or something like that)<br>
<br>
but i am stuck in an ugly series of problems, i wanted to write about it when<br>
i had some useful code, but i really don&#39;t know how to make it work :(<br>
i wanted to put the eject icon only on mounted devices, so i have to watch the<br>
mount status of the device, i suppose it could be done with the soliddevice<br>
dataengine i suppose, if i understood correctly, giving it a query with an<br>
udi like connectSource(udi, this); it would return the info for the device<br>
with that udi, but it doesn&#39;t seem to work, i&#39;m missing something or there<br>
are problems in that engine?<br>
<br></blockquote></div><br>That should work just fine.&nbsp; If you can show me the code I might be able to help a little more.&nbsp; Commit it to playground and that way we can all have a look at it.<br>Chris<br>