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 <godi...@sugarlabs.org> wrote: > I have filled #4715 [1] 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 > SugarExt.mime_get_mime_type_for_file > Regards, > -- > Gonzalo Odiard > > SugarLabs - Learning Software for children > > [1] http://bugs.sugarlabs.org/ticket/4715 > > _______________________________________________ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel > > -- Daniel Narvaez
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel