Re: [Sugar-devel] How do you save stuff in web activities?

2014-03-22 Thread Daniel Narvaez
Where are you calling this from? You should not need to setup() manually. On Saturday, 22 March 2014, Sam Parkinson sam.parkins...@gmail.com wrote: Hi, I'm just wondering, does anyone have any code snippets for saving on web activities? I'm trying to make a web activity and am having some

Re: [Sugar-devel] How do you save stuff in web activities?

2014-03-22 Thread Sam Parkinson
Hi, I am just calling this form define(function(require). You can see the rest of the file here https://github.com/SAMdroid-apps/sugar-slides/blob/master/js/activity.coffee Thanks :) On Sat, Mar 22, 2014 at 6:36 PM, Daniel Narvaez dwnarv...@gmail.com wrote: Where are you calling this from?

Re: [Sugar-devel] GSoC'14 Proposal: Turtle Art 3D

2014-03-22 Thread forster
Hi Does it run on XO4 hardware? I got [olpc@xo-92-f0-ca Documents]$ python ta3d.py freeglut (foo): OpenGL GLX extension not supported by display ':0.0' Tony Dear All, I have drafted my GSoC 2014 proposal for the project : Turtle Art 3D

[Sugar-devel] Several toolbars in a sugar web activity ?

2014-03-22 Thread laurent bernabe
Hello everyone, I saw that a Python activity, Turtle art, has two toolbars (a main toolbar, and a personalized toolbar just below, which content is set by the selection of the main toolbar). I would like to do something like this inside my LearningChess activity : - Is this easy to do in

Re: [Sugar-devel] Several toolbars in a sugar web activity ?

2014-03-22 Thread Gonzalo Odiard
Sugar implement a primary and a secondary toolbar, attached to a button. You can't add a third. And by design is probably a bad idea. I think in the web activities, the secondary toolbars are not implemented yet. Gonzalo On Sat, Mar 22, 2014 at 8:22 AM, laurent bernabe

Re: [Sugar-devel] Several toolbars in a sugar web activity ?

2014-03-22 Thread laurent bernabe
Thank you for your answer. So I'll try to do without them. Regards 2014-03-22 19:59 GMT+01:00 Gonzalo Odiard godi...@sugarlabs.org: Sugar implement a primary and a secondary toolbar, attached to a button. You can't add a third. And by design is probably a bad idea. I think in the web

Re: [Sugar-devel] Several toolbars in a sugar web activity ?

2014-03-22 Thread Sam Parkinson
Hi, Couldn't you just create another toolbar div and .show and .hide when needed? Sam On Mar 23, 2014 6:01 AM, laurent bernabe laurent.bern...@gmail.com wrote: Thank you for your answer. So I'll try to do without them. Regards 2014-03-22 19:59 GMT+01:00 Gonzalo Odiard

Re: [Sugar-devel] Several toolbars in a sugar web activity ?

2014-03-22 Thread laurent bernabe
Hello, thank you for your answer and your idea. So I can add, for example, 10 versions of the toolbar overlapping just below the main-toolbar, and to show only one toolbar (or zero) at one time. Or maybe, my idea is the wrong way to do ? As for the third dynamic toolbar, I am still wondering

Re: [Sugar-devel] Several toolbars in a sugar web activity ?

2014-03-22 Thread laurent bernabe
I've just realised that I can do without a 3rd toolbar : ___ Theme_Lesson or Them_Exercice = T1_LEsson, T1_exercice, T2_lesson ... | Piece_kind = pawn, knight ... king ___ That way I can save a toolbar

Re: [Sugar-devel] Several toolbars in a sugar web activity ?

2014-03-22 Thread Manuel Quiñones
hi laurent, lionel and i discussed secondary toolbars a while ago. we agreed in not implement them for web because we think that palettes are more convenient. in web you can easily make any kind of palette. just inherit Palette like ActivityPalette does. also secondary toolbars make the

Re: [Sugar-devel] Several toolbars in a sugar web activity ?

2014-03-22 Thread laurent bernabe
Hello, thank you. So I'll have a look at Palette Activity and try to use palettes in my code. (Where is the ActivityPalette code hosted ? I've looked at http://wiki.sugarlabs.org/go/Activities, but it has no reference on the ActivityPalette). Regards 2014-03-22 21:50 GMT+01:00 Manuel Quiñones

[Sugar-devel] Is a Feature page needed for this?

2014-03-22 Thread Jerry Vonau
Does the maximum_instances (improvement or bugfix?) from [1] need to have a Feature Page done to gather community feedback? 1. http://bugs.sugarlabs.org/ticket/4554 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org

Re: [Sugar-devel] Several toolbars in a sugar web activity ?

2014-03-22 Thread Manuel Quiñones
2014-03-22 17:55 GMT-03:00 laurent bernabe laurent.bern...@gmail.com: Hello, thank you. So I'll have a look at Palette Activity and try to use palettes in my code. (Where is the ActivityPalette code hosted ? I've looked at http://wiki.sugarlabs.org/go/Activities, but it has no reference on

Re: [Sugar-devel] Several toolbars in a sugar web activity ?

2014-03-22 Thread laurent bernabe
Thank you. I didn't realized it was the activitypalette code from the sugar web activity code. Regards 2014-03-22 22:18 GMT+01:00 Manuel Quiñones ma...@laptop.org: 2014-03-22 17:55 GMT-03:00 laurent bernabe laurent.bern...@gmail.com: Hello, thank you. So I'll have a look at Palette

[Sugar-devel] Activity failed to start!

2014-03-22 Thread Kamal Kaur
Hello developers Can you please help me know the right way to download/install activities in sugar? I downloaded Etoys and Develop 40 from http://activities.sugarlabs.org/en-US/sugar/ from browser activity. Both are shown in journal. But when opened, activity icon flashes and there is a message:

Re: [Sugar-devel] GSoC'14 Proposal: Turtle Art 3D

2014-03-22 Thread forster
Thanks Sam Its not a XO-4 or ARM issue, I get the same on XO-1.5. Tony I don't think xo4 has opengl. I tried to use a clutter based app and I got a crash :( Maybe there are some drivers, or otherwise you'll need to make 3d from the ground up. Have fun On Mar 22, 2014 9:10 PM,

Re: [Sugar-devel] GSoC'14 Proposal: Turtle Art 3D

2014-03-22 Thread Samuel Greenfeld
To the best of my recollection, most if not all of the XO laptop series does not have hardware 3D support for Linux. The drivers simply were not made, partially because turning on the 3D engine drains power faster. You could try doing things through mesa's software OpenGL implementation,

Re: [Sugar-devel] [pull request] Re: Better support for running non-sugar apps under Sugar

2014-03-22 Thread Sebastian Silva
Hi, Just updated the pull requests. https://github.com/sugarlabs/sugar/pull/298 https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/125 Thanks for the reviews, Sebastian ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org