[Sugar-devel] Cannot write a function definition for a copy button.

2015-04-19 Thread Iain Brown Douglas
Following a month of Learn Python the Hard Way, I cannot get an Edit Toolbar to behave fully correctly, in Activity Help, as modified for SoaS Loader. I have tried (in various permutations) to make use of code borrowed from Terminal, Pippy, Develop, Browse, ReadETexts, and Write. I get stuck just

Re: [Sugar-devel] Cannot write a function definition for a copy button.

2015-04-19 Thread Sebastian Silva
On 19/04/15 05:10, Iain Brown Douglas wrote: Following a month of Learn Python the Hard Way, I cannot get an Edit Toolbar to behave fully correctly, in Activity Help, as modified for SoaS Loader. Keep it up! This is exactly the way to learn and have fun. It might be a good idea to also keep in

[Sugar-devel] [Feature] Start an activity from another activity

2015-04-19 Thread Sam P.
Hi All, One feature that was proposed last cycle but never got 100% finished was to add an api for activities to launch other activities. I prematurely merged it last week, but would like to start a discussion on getting it improved and merged again. Feature Page:

Re: [Sugar-devel] [Feature] Start an activity from another activity

2015-04-19 Thread James Cameron
How does an activity declare a dependency on another activity? (e.g. activity.info file) Is the dependency versioned? (e.g. depends = Browse = 157) Is the dependency rigid or only a suggestion? (e.g. suggests = Browse = 157, vs depends = Browse 149) How does a download and install of an

[Sugar-devel] [Feature] Social Help

2015-04-19 Thread Sam P.
Hi All, One feature I'm proposing for the 0.106 cycle is Social Help. Social Help was previously proposed by Prasoon Shukla as a GSOC project, however my proposal is slightly different. Patch Link: https://github.com/sugarlabs/sugar/pull/483/commits Feature Page:

Re: [Sugar-devel] [Feature] Start an activity from another activity

2015-04-19 Thread Sam P.
Hi James, Having activity dependencies is an interesting idea. What use case would it be useful in? I was thinking about different use cases, eg; open this file I just downloaded in an activity that deals with that mine, I exported my turtle to python code so open it in pippy, I need to add a

Re: [Sugar-devel] [Feature] Start an activity from another activity

2015-04-19 Thread James Cameron
I have no use case for the feature, sorry. The activities I'm mostly concerned with stand alone. But if an activity is written to use the feature, a dependency is created; my question is _will_ it be encoded, and what are the effects on other actions that change the list of activities? What you