Re: [Sugar-devel] Journal integration for Scratch

2009-01-24 Thread John Maloney
Hi, Phillip. Re: There is a bug in Scratch version 12. The symbolic link of the Project directory doesn't get created (Open Projects shows Scratch.activity folder instead). I checked the scripts (scratch-activity and scratch-wrapper) but couldn't find where the link should get created. In

Re: [Sugar-devel] Journal integration for Scratch

2009-01-15 Thread Bert Freudenberg
On 15.01.2009, at 13:55, John Maloney wrote: Hi, Phillip. Re: There is a bug in Scratch version 12. The symbolic link of the Project directory doesn't get created (Open Projects shows Scratch.activity folder instead). I checked the scripts (scratch-activity and scratch-wrapper) but

Re: [Sugar-devel] Journal integration for Scratch

2009-01-14 Thread Philipp Kocher
Hi John Yes, we need the mimetypes.xml file as well (thanks Tomeu I forgot the USB flash drive use case). I have tested the attached mimetypes.xml. It is working fine. Put it in the activity directory. Furthermore we have to change the scratch-activity script, so the parameter with the

Re: [Sugar-devel] Journal integration for Scratch

2009-01-13 Thread Bert Freudenberg
On 13.01.2009, at 06:55, Philipp Kocher wrote: Thanks Tomeu to lead me to the /home/olpc/.local directory. However, the mimetypes.xml is not necessary to get the icon in the journal. I just had to copy the scratch icon file in the activity directory to application-x-scratch-project.svg

Re: [Sugar-devel] Journal integration for Scratch

2009-01-13 Thread Tomeu Vizoso
On Tue, Jan 13, 2009 at 06:55, Philipp Kocher philipp.koc...@gmx.net wrote: Tomeu Vizoso wrote: On Mon, Jan 12, 2009 at 18:50, Bert Freudenberg b...@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

Re: [Sugar-devel] Journal integration for Scratch

2009-01-13 Thread Eben Eliason
On Tue, Jan 13, 2009 at 3:54 AM, Bert Freudenberg b...@freudenbergs.de wrote: On 13.01.2009, at 06:55, Philipp Kocher wrote: Thanks Tomeu to lead me to the /home/olpc/.local directory. However, the mimetypes.xml is not necessary to get the icon in the journal. I just had to copy the scratch

Re: [Sugar-devel] Journal integration for Scratch

2009-01-13 Thread Bert Freudenberg
On 13.01.2009, at 17:22, Eben Eliason wrote: /usr/share/icons/sugar/scalable/mimetypes/application-x-squake- project.svg. Interesting ... thanks for the archaeology :) Eben: see, I did remember correctly there was an icon for the document independent of the activity ;) Indeed.

Re: [Sugar-devel] Journal integration for Scratch

2009-01-13 Thread Eben Eliason
On Tue, Jan 13, 2009 at 12:49 PM, Bert Freudenberg b...@freudenbergs.de wrote: On 13.01.2009, at 17:22, Eben Eliason wrote: /usr/share/icons/sugar/scalable/mimetypes/application-x-squake- project.svg. Interesting ... thanks for the archaeology :) Eben: see, I did remember correctly there

Re: [Sugar-devel] Journal integration for Scratch

2009-01-13 Thread Bert Freudenberg
On 13.01.2009, at 19:14, Eben Eliason wrote: On Tue, Jan 13, 2009 at 12:49 PM, Bert Freudenberg b...@freudenbergs.de wrote: On 13.01.2009, at 17:22, Eben Eliason wrote: /usr/share/icons/sugar/scalable/mimetypes/application-x-squake- project.svg. Interesting ... thanks for the

Re: [Sugar-devel] Journal integration for Scratch

2009-01-12 Thread Bert Freudenberg
On 12.01.2009, at 10:16, Tomeu Vizoso wrote: Ok, what you just did will tell Sugar that Scratch is able to open files with the mime type 'application/x-scratch-project'. But this will not affect the icon of those files. Is there a way to assign icons for files other than by saving it in an

Re: [Sugar-devel] Journal integration for Scratch

2009-01-12 Thread Eben Eliason
This is something I've briefly discussed with Marco in the past. It seems a natural extension of the idea of objects as first class citizens of Sugar to allow those objects to have custom icons and identities. Right now, we have no such support. The most natural way (at least for me, as a Mac

Re: [Sugar-devel] Journal integration for Scratch

2009-01-12 Thread Bert Freudenberg
On 12.01.2009, at 17:03, Tomeu Vizoso wrote: On Mon, Jan 12, 2009 at 16:52, Bert Freudenberg b...@freudenbergs.de wrote: On 12.01.2009, at 10:16, Tomeu Vizoso wrote: Ok, what you just did will tell Sugar that Scratch is able to open files with the mime type

Re: [Sugar-devel] Journal integration for Scratch

2009-01-12 Thread Bert Freudenberg
On 12.01.2009, at 17:55, Tomeu Vizoso wrote: On Mon, Jan 12, 2009 at 17:38, Bert Freudenberg b...@freudenbergs.de wrote: On 12.01.2009, at 17:03, Tomeu Vizoso wrote: On Mon, Jan 12, 2009 at 16:52, Bert Freudenberg b...@freudenbergs.de wrote: On 12.01.2009, at 10:16, Tomeu Vizoso

Re: [Sugar-devel] Journal integration for Scratch

2009-01-12 Thread Eben Eliason
On Mon, Jan 12, 2009 at 12:11 PM, Tomeu Vizoso to...@sugarlabs.org wrote: On Mon, Jan 12, 2009 at 18:07, Bert Freudenberg b...@freudenbergs.de wrote: On 12.01.2009, at 17:55, Tomeu Vizoso wrote: On Mon, Jan 12, 2009 at 17:38, Bert Freudenberg b...@freudenbergs.de wrote: On 12.01.2009, at

Re: [Sugar-devel] Journal integration for Scratch

2009-01-12 Thread Tomeu Vizoso
On Mon, Jan 12, 2009 at 18:50, Bert Freudenberg b...@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

Re: [Sugar-devel] Journal integration for Scratch

2009-01-12 Thread Bert Freudenberg
On 12.01.2009, at 19:30, Tomeu Vizoso wrote: 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