+1
I have reviewed simpleactivity.py and testactivity.py
This code is very legible and explains well what it does, and can
serve as an example for new activity authors.
The docstrings in simpleactivity.py are an effective explanation of
the simplified API, so perhaps you can generate the documen
Excellent!
Some time ago I think have a simplified way to have an shareable activity
without the tricky things of telephaty.
This code can be added in Sugar?
> Date: Fri, 22 Nov 2013 18:01:09 +1100
> From: qu...@laptop.org
> To: a...@sugarlabs.org
> Subject: Re: [Sugar-devel]
Thank you!
James:
I take your point... I am going to make separated branches one for
collaboration and another for just a SimpleActivity Activity.
I will try to do that today, anyway I will notify.
Regards,
aguz
2013/11/22 James Cameron
> +1
>
> I have reviewed simpleactivity.py and testacti
Nice! I will try to use it in Browse. We should aim to zero code
duplication and make activities code easier.
I gave a quick look at the code. I think SimpleActivity should take
care of adding the Stop button. All activities will (must) have it.
Please add an empty __init__.py file so we can
Manu,
I just added the __init__.py file.
About the StopButton, I added the function add_stopbutton in order to be
called when the activity developer finish its toolbar, because
SimpleActivity can't know where it's ready, I think the only way to do this
is when the user adds any item to the toolbar
Hi, now the StopButton is added automatically you don't have to call
self.add_stopbutton anymore :)
Regards,
aguz
2013/11/25 Manuel Quiñones
> 2013/11/24 Agustin Zubiaga Sanchez :
> > Manu,
> > I just added the __init__.py file.
> >
> > About the StopButton, I added the function add_stopbutton
2013/11/25 Agustin Zubiaga Sanchez :
> Hi, now the StopButton is added automatically you don't have to call
> self.add_stopbutton anymore :)
Great, I will give it a try in Browse.
--
.. manuq ..
___
Devel mailing list
Devel@lists.laptop.org
http://list
Separated files to SimpleActivity and SharedActivity would be good,
to avoid importing all the telepathy and network stuff if will not be used.
I would like to see a HelloWorld example, the extreme minimal needed to
create a activity.
Gonzalo
On Fri, Nov 22, 2013 at 10:18 AM, Agustin Zubiaga Sa
Muchas gracias por todo Eduardo, voy a ver si me doy una vuelta algun dia,
yo les aviso :)
Saludos,
aguz
2013/11/22 eduardo duarte
> Felicitaciones Agustín !! desde Centro RAP y Espacio Ceibal Toledo -
> Canelones - Uruguay . Y nuestro impulso para que sigas adelante con todos
> tus proyectos
Thanks everyone and UPDATE:
The classes are now in separated files for don't import all the sharing
stuff if it is not necessary (simpleactivity.py - sharedactivity.py):
If you want to implement collaboration you will have to put both files
(because SharedActivity depends of SimpleActivity) in you
I like this
https://git.sugarlabs.org/~aguzubiaga/hello-world/simpleactivity-helloworld/blobs/master/activity.py
Gonzalo
On Fri, Nov 22, 2013 at 1:47 PM, Agustin Zubiaga Sanchez wrote:
> Thanks everyone and UPDATE:
>
> The classes are now in separated files for don't import all the sharing
> s
11 matches
Mail list logo