[sugar] Starting activities programmatically
Andrew Clunis
orospakr
Sun Mar 4 14:57:43 EST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Marco Pesenti Gritti wrote:
> On Sat, 2007-03-03 at 20:17 -0500, Andrew Clunis wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> In my push to make Develop into a halfway serviceable IDE in time for
>> the GDC talk, I want to make the Run button actually work.
>>
>> I just want to start an arbitrary (and not necessarily registered in
>> with sugar in one of the standard directories) Activity bundle
>> (unpacked, of course. Develop would be editing it).
>>
>> Can I do this right now?
>>
>
> Something like:
>
> sugar-activity-factory webactivity.WebActivity
> --bundle-path=/home/marco/sugar-jhbuild/build/share/activities/Web.activity
>
> There might be problems if the bundle is not inside the sugar activities
> path, but I'm sure we can solve them.
>
> Marco
>
Awesome, thank you!
One thing that worries me, though, is that if you start an activity
normally in sugar, close it, change it, and restart it, the new changes
don't take effect. It looks like the activity remains resident even
after you close it.
What's up there, and how can I cope with it?
- --
Regards,
Andrew Clunis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF6ySuALkUMXSNow8RAkl/AJ4vV4Vt0apD42sk/963KbNqKmXI5QCgnMnC
NVktuu3jm+HPfKZF3OWbKac=
=et3m
-----END PGP SIGNATURE-----
More information about the Sugar-devel
mailing list