<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<pre><font face="Tahoma"><span style="white-space: normal;">> </span></font>Alan Jhonn Aguiar Schwyn <alanjas@hotmail.com> writes:<br>> <br>>> And the "back compatibility" ??And all the activities/programs that<br>>> search in /media ??<br>>> _______________________________________________<br>> <br>>They should use proper API (gio on recent distros, HAL on old OLPC OS<br>>builds) rather than hardcoding paths. Check out the gio VolumeMonitor<br>>API documentation [1] and see _find_media() [2] in Backup [3] for an<br>>example (including fallback to HAL).<br> <br>>Sascha<br> <br>>[1] <a href="http://developer.gnome.org/gio/stable/GVolumeMonitor.html" target="_blank">http://developer.gnome.org/gio/stable/GVolumeMonitor.html</a><br>>[2] <a href="https://git.sugarlabs.org/backup/mainline/blobs/master/backup.py#line671" target="_blank">https://git.sugarlabs.org/backup/mainline/blobs/master/backup.py#line671</a><br>>[3] <a href="http://activities.sugarlabs.org/en-US/sugar/addon/4326" target="_blank">http://activities.sugarlabs.org/en-US/sugar/addon/4326</a><br>>-- <br>><a href="http://sascha.silbe.org/" target="_blank">http://sascha.silbe.org/</a><br>><a href="http://www.infra-silbe.de/" target="_blank">http://www.infra-silbe.de/</a></pre><pre>Yes.. it's better use that.. Thanks!</pre><pre>Regards!</pre><pre>Alan</pre>                                     </div></body>
</html>