[Sugar-devel] mime types when moving files from journal to usb

Sascha Silbe sascha-ml-reply-to-2011-2 at silbe.org
Fri Feb 11 16:17:47 EST 2011


Excerpts from Erik Blankinship's message of Fri Feb 11 21:08:20 +0100 2011:

> I noticed there were two svg icons in the physics activity directory:
>  application-x-physics-project.svg and activity-physics.svg.
> 
> Is there now a way to assign an icon to the files generated/used by my
> activity based on their extension type?

You already discovered that way. If you ship your icons as
activity/<primary_type>-<subtype>.svg Sugar will automatically install
them [1].

Sascha

[1] http://git.sugarlabs.org/sugar-toolkit/mainline/blobs/master/src/sugar/bundle/activitybundle.py#line368
-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 494 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110211/26e7ac5d/attachment.pgp>


More information about the Sugar-devel mailing list