-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Arjun Sarwal wrote:
> I need to turn off some drawing code when the user switches to Home View
> (why waste so much of CPU power in the meanwhile)
> How can I do that ?
I just figured this out while writing Clock. In my activity's __init__, I do:
Thanks, Tomeu.
I need to turn off some drawing code when the user switches to Home View
(why waste so much of CPU power in the meanwhile)
How can I do that ?
thanks,
Arjun
On 10/30/07, Tomeu Vizoso <[EMAIL PROTECTED]> wrote:
>
> Hi Arjun,
>
> On Tue, 2007-10-30 at 02:15 +0530, Arjun Sarwal wrote
On Nov 3, 2007, at 11:30 AM, Benjamin M. Schwartz wrote:
> Sugar should set this variable to the preferred temporary
> directory, so that the above boilerplate is unnecessary.
Yes, I'm planning on Sugar doing this and providing getters for the
data and conf directories. We wanted to get the com
1. Reggio Emilia: Italian Prime Minister Romano Prodi reconfirmed his
commitment of 50,000 laptops for Ethiopia while at a town meeting of
over 600 people where Nicholas presented OLPC. The importance of the
funding is its exemplary nature—it is model for other European
countries and the EU itself
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ivan Krstić wrote:
> Here's how to properly get a temporary file in Python until we
> provide helpers for it through Sugar:
...
> tmp_root = os.path.join(environ['SUGAR_ACTIVITY_ROOT'], 'tmp')
> tmp = tempfile.TemporaryFile(dir=tmp_root)
According t
5 matches
Mail list logo