[Sugar-devel] mime type error in sugar
godiard at sugarlabs.org
Sun Jan 19 11:04:47 EST 2014
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.
Probably mime.get_for_file could call Gio instead of the SugarExt
On Sat, Jan 18, 2014 at 6:49 AM, Daniel Narvaez <dwnarvaez at gmail.com> wrote:
> Why we need that method at all? Without knowing the history of this code,
> it seems like we should Gio, both if the file exists and if it doesn't (if
> I remember correctly guess if for when the file doesn't exist).
> On 16 January 2014 20:42, Gonzalo Odiard <godiard at sugarlabs.org> wrote:
>> I have filled #4715  with information about a problem with the mime
>> database in sugar.
>> A workaround is available, but I would like to know what other think
>> about using Gio to identify the mime types instead of our own
>> Gonzalo Odiard
>> SugarLabs - Learning Software for children
>>  http://bugs.sugarlabs.org/ticket/4715
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
> Daniel Narvaez
SugarLabs - Learning Software for children
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel