[sugar] Where did sugar._sugarext.get_pgrname() go?

Marco Pesenti Gritti mpgritti at gmail.com
Mon Nov 12 17:44:15 EST 2007


What was you using the program name for? Maybe what you want is
Activity.get_bundle_id(), at least I think that's what we used to set
the program name to. (We had to give using the program name for this
because there are libraries like xulrunner which mess with it).

Marco

On Nov 12, 2007 9:10 PM, Mike C. Fletcher <mcfletch at vrplumber.com> wrote:
> Hi all,
>
> We're going to have quite a few people working on the games next
> weekend.  In preparation I'm attempting to get the olpcgames wrapper
> working again under jhbuild, at the moment mesh.py is failing because
> it's using a function called get_prgname() to determine it's dbus name.
> That method appears to have been removed.  It seems that it's just
> trying to get a DBUS-friendly name for the service.  I'm guessing I
> could create my own version if I had a spec for what it needed to
> produce to be useful.
>
> Anyway, guidance on how to get the current program name would be
> appreciated,
> Mike
> _______________________________________________
> Sugar mailing list
> Sugar at lists.laptop.org
> http://lists.laptop.org/listinfo/sugar
>


More information about the Sugar mailing list