Good to know.  Post-B2 I'll start using this function.

owen

On Fri, 2007-01-19 at 16:24 +0100, Marco Pesenti Gritti wrote:
> On Fri, 2007-01-19 at 12:15 -0300, Gonzalo Delgado wrote:
> > 2007/1/19, Marco Pesenti Gritti <[EMAIL PROTECTED]>:
> > >
> > > sugar.env.sugar_activities_dir is actually obsolete, it was used by the
> > > old activities system. I just removed it in git.
> > >
> > > Any specific reason you was trying to use it?
> > >
> > > Marco
> > >
> > >
> > 
> > Well, I needed to reach my activity directory to load a glade file.
> > I've seen other activities (PenguinTV, for example) use a different
> > approach to do this, but I was looking for what Sugar offered to do
> > that. Which would be the "standard" or conventional way?
> > 
> > 
> 
> Yep.. try:
> 
> from sugar import env
> path = env.get_bundle_path()
> 
> Marco
> 
> _______________________________________________
> Sugar mailing list
> [email protected]
> http://mailman.laptop.org/mailman/listinfo/sugar
> 
> 

_______________________________________________
Sugar mailing list
[email protected]
http://mailman.laptop.org/mailman/listinfo/sugar

Reply via email to