maemo.org Bugzilla – Bug 4632
[python-hildon] hildon_program_get_instance could be a class method from hildon.Program
Last modified: 2009-07-15 22:53:30 UTC
You need to
before you can comment on or make changes to this bug.
This would allow writing code like:
program = hildon.Program.get_instance()
Instead of the current:
program = hildon_program_get_instance()
The first format apparently fits better on the OO design used by python-hildon.
Fixed in SVN trunk (r1192). Will be on next python-hildon release