<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Jan 19, 2014 at 1:47 PM, Daniel Narvaez <span dir="ltr"><<a href="mailto:dwnarvaez@gmail.com" target="_blank">dwnarvaez@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="im">On 19 January 2014 17:04, Gonzalo Odiard <span dir="ltr"><<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a>></span> wrote:<br>
</div><div class="gmail_extra"><div class="gmail_quote"><div class="im">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I don't know if this was needed by historical reasons,<div>maybe the Gio functionality was not available.</div>

<div><br></div>mime.get_for_file do some magic to recognize text files.</div></blockquote><div><br></div></div><div>Gio seems to handle that just fine (tested with <span>Gio.content_guess_type).<br></span></div><div class="im">
<div> <br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Probably mime.get_for_file could call Gio instead of the SugarExt equivalent.</div>

<span><font color="#888888"></font></span></div></blockquote><div><br></div></div><div>IMO we should deprecate mime.get_for_file and replace it with Gio.<br></div></div></div></div>
</blockquote></div><br><br>I agree.</div><div class="gmail_extra"><br></div><div class="gmail_extra">This week I will be almost disconnected. Next week will be back working.</div><div class="gmail_extra"><br></div><div class="gmail_extra">
Gonzalo<br><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Gonzalo Odiard<br><br><div>SugarLabs - Learning Software for children<br></div></div>
</div></div>