[Sugar-devel] mime type error in sugar

Gonzalo Odiard godiard at sugarlabs.org
Sun Jan 19 18:39:05 EST 2014

On Sun, Jan 19, 2014 at 1:47 PM, Daniel Narvaez <dwnarvaez at gmail.com> wrote:

> On 19 January 2014 17:04, Gonzalo Odiard <godiard at 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.

I agree.

This week I will be almost disconnected. Next week will be back working.


Gonzalo Odiard

SugarLabs - Learning Software for children
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140119/974514f8/attachment-0001.html>

More information about the Sugar-devel mailing list