Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-09-13 Thread Martin Abente
Thanks for the feedback! I will take a look into that. On Tue, Sep 4, 2012 at 11:08 AM, Gary Martin garycmar...@googlemail.comwrote: Hi Martin, On 4 Sep 2012, at 03:05, Martin Abente martin.abente.lah...@gmail.com wrote: @gonzalo: Regarding gtk2-gtk3, no problem, I wil do it ASAP.

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-09-04 Thread Gary Martin
Hi Martin, On 4 Sep 2012, at 03:05, Martin Abente martin.abente.lah...@gmail.com wrote: @gonzalo: Regarding gtk2-gtk3, no problem, I wil do it ASAP. @gonzalo bert: I would go for the simpler solution. But is really important that we can agree on this. @gonzalo: regarding the icon, I

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-09-03 Thread Martin Abente
@gonzalo: Regarding gtk2-gtk3, no problem, I wil do it ASAP. @gonzalo bert: I would go for the simpler solution. But is really important that we can agree on this. @gonzalo: regarding the icon, I think the activity icon works fine, but maybe someone else can give us more feedback to see which

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-09-03 Thread Manuel QuiƱones
Hey Tincho, 2012/9/3 Martin Abente martin.abente.lah...@gmail.com: @gonzalo: Regarding gtk2-gtk3, no problem, I wil do it ASAP. @gonzalo bert: I would go for the simpler solution. But is really important that we can agree on this. @gonzalo: regarding the icon, I think the activity icon

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-08-31 Thread Martin Abente
Its been too quiet recently. Apart from Bert I have not received any feedback from the current functional design concept. Anyone still interested? :) On Wed, Aug 22, 2012 at 10:13 PM, Martin Abente martin.abente.lah...@gmail.com wrote: Nice! Please also give it a try :) @Gary, Gonzalo,

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-08-31 Thread Gonzalo Odiard
Sorry, we are so busy, these days... I have tested it, and works as expected. A few comments: * gtk2 branch is in maintenance mode now, probably is better port this to the gtk3 branch. (Anyway need opinion of sugar maintainers) * IMHO the code added to enable configure the examples directory

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-08-31 Thread Bert Freudenberg
On 2012-08-31, at 21:54, Gonzalo Odiard godi...@gmail.com wrote: * IMHO the code added to enable configure the examples directory is so complicate, and do not add too much value. I think is better use a fixed examples or samples (as in TurtleArt). If the maintainer want use it, should

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-08-31 Thread Gonzalo Odiard
Well, is not by the number of lines ... and I was talking about this part (in the other patch): +# XXX is there other way to easily access the activity info? +home_model = shell.get_model() +home_activity = home_model._get_activity_by_xid(parent.xid) +examples_path

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-08-31 Thread Gonzalo Odiard
Another note: Thinking in the use case of a developer adding the ObjectChoser with the intention of show to the users the examples directory content, like TurtleArt today use a FileChooser, probably would be good have a option to set the examples directory as the first displayed instead of

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-08-22 Thread Bert Freudenberg
On 2012-08-22, at 04:27, Martin Abente wrote: Hello everyone: From the meeting notes and Bert suggestion I have what could be called the version 2 of this feature, greatly simplified and complies with everyones rightful suggestions. To avoid spaming (for some time) the sugar-devel ML I

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-08-22 Thread Martin Abente
Nice! Please also give it a try :) @Gary, Gonzalo, ping ;) both patches are here: http://www.sugarlabs.org/~tch/patches/examples/ On Wed, Aug 22, 2012 at 10:24 AM, Bert Freudenberg b...@freudenbergs.dewrote: On 2012-08-22, at 04:27, Martin Abente wrote: Hello everyone: From the meeting

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-08-21 Thread Martin Abente
The design I implemented works like this: a. activity developers or deployments add a new examples folder inside the activity bundle with their examples objects. b. when the activity starts, the example folder will be accessible through the journal as new volume option, and also from __any__

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-08-21 Thread Bert Freudenberg
On 2012-08-21, at 20:17, Martin Abente wrote: The design I implemented works like this: a. activity developers or deployments add a new examples folder inside the activity bundle with their examples objects. b. when the activity starts, the example folder will be accessible through the

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-08-21 Thread Martin Abente
Hello everyone: From the meeting notes and Bert suggestion I have what could be called the version 2 of this feature, greatly simplified and complies with everyones rightful suggestions. To avoid spaming (for some time) the sugar-devel ML I will post the patches just here: sugar:

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-07-20 Thread Walter Bender
On Thu, Jul 19, 2012 at 8:02 PM, Gonzalo Odiard gonz...@laptop.org wrote: Hello Tincho! Nice to read you here again :) Yes. Nice that Tincho is back. I agree this can be a very good addition, and I see think we need solve two different parts: 1) Access the examples in the activities: using

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-07-20 Thread Agustin Zubiaga Sanchez
Hi, some days ago I was talking with Walter also about it. And I have started with the examplechooser, it isn't very difficult to do, only using a treeview and modifying his base color to white, you can obtain a very similar widget. I sent my advance in the attachment, lacks a lot, but we can

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-07-20 Thread Martin Abente
On Thu, Jul 19, 2012 at 8:02 PM, Gonzalo Odiard gonz...@laptop.org wrote: Hello Tincho! Nice to read you here again :) Thanks, is good to be back. :) I agree this can be a very good addition, and I see think we need solve two different parts: 1) Access the examples in the activities:

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-07-20 Thread Martin Abente
Very nice :) We still need to get this idea shaped/designed first so then we can continue with the hacking (fun) part! On Fri, Jul 20, 2012 at 8:43 AM, Agustin Zubiaga Sanchez a...@sugarlabs.org wrote: Hi, some days ago I was talking with Walter also about it. And I have started with the

[Sugar-devel] [DESIGN] Examples objects support for activities.

2012-07-19 Thread Martin Abente
Hello Everyone: In a recent conversation with Walter, he mentioned that it would be very useful if activities could include examples objects. From my experience in the field, I can tell this feature can be a really useful indeed. Therefore I would like to bring this idea to the general discussion

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-07-19 Thread Walter Bender
On Thu, Jul 19, 2012 at 1:40 PM, Martin Abente martin.abente.lah...@gmail.com wrote: Hello Everyone: In a recent conversation with Walter, he mentioned that it would be very useful if activities could include examples objects. From my experience in the field, I can tell this feature can be a

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-07-19 Thread Anish Mangal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 19 July 2012 11:10 PM, Martin Abente wrote: Hello Everyone: In a recent conversation with Walter, he mentioned that it would be very useful if activities could include examples objects. From my experience in the field, I can tell

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-07-19 Thread Gary Martin
On 19 Jul 2012, at 18:40, Martin Abente wrote: Hello Everyone: In a recent conversation with Walter, he mentioned that it would be very useful if activities could include examples objects. From my experience in the field, I can tell this feature can be a really useful indeed. Therefore I

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-07-19 Thread Martin Abente
On Thu, Jul 19, 2012 at 3:51 PM, Anish Mangal an...@activitycentral.comwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 19 July 2012 11:10 PM, Martin Abente wrote: Hello Everyone: In a recent conversation with Walter, he mentioned that it would be very useful if

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-07-19 Thread Gonzalo Odiard
Hello Tincho! Nice to read you here again :) I agree this can be a very good addition, and I see think we need solve two different parts: 1) Access the examples in the activities: using a widget similar to the object chooser, but showing files in a directory. I think Silbe said, the actual