Journal integration for Scratch

Tomeu Vizoso tomeu at sugarlabs.org
Mon Jan 12 13:30:05 EST 2009


On Mon, Jan 12, 2009 at 18:50, Bert Freudenberg <bert at freudenbergs.de> wrote:
> On 12.01.2009, at 18:11, Tomeu Vizoso wrote:
>>>
>>> So what would the Scratch activity have to do so files put into the
>>> Journal
>>> (maybe by downloading) are displayed using a Scratch icon rather than the
>>> generic document icon?
>>
>> Shipping a mimetypes.xml file inside the bundle as explained here:
>>
>> http://wiki.laptop.org/go/Activity_bundles#Bundle_Structure
>>
>> Sugar will call update-mime-database and will merge that file into the
>> xdg mime database.
>>
>> I think that John is already trying this.
>
>
> Guess I'm confused then - I thought that's exactly what Philipp had done.

I think he just changed the mime_types field in the .info file.

> And I just checked and it does work with Etoys projects. When downloading
> one it indeed gets an etoys icon (although at a smaller size - why is that?)

No idea, though I think that the mime database is updated in the etoys
rpm and not in the bundle, am I right?

Regards,

Tomeu



More information about the Devel mailing list