[Sugar-devel] mime type error in sugar
dwnarvaez at gmail.com
Sun Jan 19 11:47:58 EST 2014
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
IMO we should deprecate mime.get_for_file and replace it with Gio.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel