[sugar] Starting activities programmatically
Polychronis Ypodimatopoulos
ypod
Sun Mar 4 15:19:40 EST 2007
Closing, changing and re-running an activity works for me.
Are you sure you don't have multiple instances of the activity running?
I think that the ability to sudo-run an activity might also be important.
As activities become more elaborate, they will require more access to kernel
features such as networking.
p.
Andrew Clunis wrote:
> -----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-----
> _______________________________________________
> Sugar mailing list
> Sugar at laptop.org
> http://mailman.laptop.org/mailman/listinfo/sugar
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ypod.vcf
Type: text/x-vcard
Size: 211 bytes
Desc: not available
Url : http://mailman.laptop.org/pipermail/sugar/attachments/20070304/822509e3/ypod.vcf
More information about the Sugar-devel
mailing list