<div dir="ltr">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 class="gmail_extra"><div class="gmail_quote">
<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>Gio seems to handle that just fine (tested with <span class="">Gio.content_guess_type).<br></span></div><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 class=""><font color="#888888"></font></span></div></blockquote><div><br></div><div>IMO we should deprecate mime.get_for_file and replace it with Gio.<br></div></div></div></div>