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?
PenguinTV, for example, does this:
def GetPrefix():
h, t = os.path.split(os.path.split(os.path.abspath(sys.argv[0]))[0])
return h
Regards.
--
Gonzalo Delgado.
_______________________________________________
Sugar mailing list
[email protected]
http://mailman.laptop.org/mailman/listinfo/sugar