<font class="Apple-style-span" face="arial, helvetica, sans-serif"><br><br></font><div class="gmail_quote"><font class="Apple-style-span" face="arial, helvetica, sans-serif">On Fri, Feb 11, 2011 at 4:17 PM, Sascha Silbe <span dir="ltr"><<a href="mailto:sascha-ml-reply-to-2011-2@silbe.org">sascha-ml-reply-to-2011-2@silbe.org</a>></span> wrote:<br>
</font><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><font class="Apple-style-span" face="arial, helvetica, sans-serif">Excerpts from Erik Blankinship's message of Fri Feb 11 21:08:20 +0100 2011:<br>

</font><div class="im"><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br>
> I noticed there were two svg icons in the physics activity directory:<br>
>  application-x-physics-project.svg and activity-physics.svg.<br>
><br>
> Is there now a way to assign an icon to the files generated/used by my<br>
> activity based on their extension type?<br>
<br>
</font></div><font class="Apple-style-span" face="arial, helvetica, sans-serif">You already discovered that way. If you ship your icons as<br>
activity/<primary_type>-<subtype>.svg Sugar will automatically install<br>
them [1].<br><br></font></blockquote><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="line-height: 17px; white-space: pre; ">Thank you for your help as I try to get this to work.</span></font></div>
<div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">I must be doing something wrong with mimetypes.xml.  Here is a very small activity that let's you click a button to save your game state.</font></div>
<div><a href="https://github.com/jedierikb/supes.activity"><font class="Apple-style-span" face="arial, helvetica, sans-serif" color="#000000">https://github.com/jedierikb/supes.activity</font></a></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br>
</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">Things broken with this activity:</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">(1) The icon <span class="Apple-style-span" style="line-height: 16px; ">application-x-supes-saved.svg is not used in the journal for saved game files.</span></font></div>
<div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="line-height: 16px; ">(2) Activity instance files dragged to usb are not given the extension </span><span class="Apple-style-span" style="line-height: 17px; white-space: pre; ">*.superduper</span></font></div>
<div><span class="Apple-style-span" style="line-height: 17px; white-space: pre; "><font class="Apple-style-span" face="arial, helvetica, sans-serif">(3) Saved game files dragged to usb are not given the extension *.superduper_saved</font></span></div>
<div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="line-height: 17px; white-space: pre;"><br></span></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="line-height: 17px; white-space: pre;">[note: trying this on olpc 10.1.3, sugar 84, but would like it to work with sugar 84+]</span></font></div>
</div>