[sugar] Starting activities programmatically
Marco Pesenti Gritti
mpg
Sun Mar 4 15:23:34 EST 2007
On Sun, 2007-03-04 at 14:57 -0500, 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?
Change the code or change the .info?
Marco
More information about the Sugar-devel
mailing list