2013/11/25 Agustin Zubiaga Sanchez a...@sugarlabs.org:
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
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 ma...@laptop.org
2013/11/24 Agustin Zubiaga Sanchez a...@sugarlabs.org:
Manu,
I just added the __init__.py file.
About the StopButton, I added
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
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
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] Introducing
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 qu...@laptop.org
+1
I have reviewed
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
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 duarteeduardo...@gmail.com
Felicitaciones Agustín !! desde Centro RAP y Espacio Ceibal Toledo -
Canelones - Uruguay . Y nuestro impulso para que sigas adelante
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
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 a...@sugarlabs.org
wrote:
Thanks everyone and UPDATE:
The classes are now in separated files for don't import
+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
11 matches
Mail list logo