On 19 January 2014 17:04, Gonzalo Odiard <godi...@sugarlabs.org> wrote:

> I don't know if this was needed by historical reasons,
> maybe the Gio functionality was not available.
>
> mime.get_for_file do some magic to recognize text files.
>

Gio seems to handle that just fine (tested with Gio.content_guess_type).


> Probably mime.get_for_file could call Gio instead of the SugarExt
> equivalent.
>

IMO we should deprecate mime.get_for_file and replace it with Gio.
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to