Bug 4632 - [python-hildon] hildon_program_get_instance could be a class method from hildon.Program
: [python-hildon] hildon_program_get_instance could be a class method from hild...
Status: RESOLVED FIXED
Product: PyMaemo
General
: unspecified
: All Linux
: Low enhancement (vote)
: ---
Assigned To: Anderson Lizardo
: general
:
:
:
:
  Show dependency tree
 
Reported: 2009-06-03 23:27 UTC by Anderson Lizardo
Modified: 2009-07-15 22:53 UTC (History)
0 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Anderson Lizardo (reporter) 2009-06-03 23:27:24 UTC
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.
Comment 1 Anderson Lizardo (reporter) 2009-07-15 22:53:30 UTC
Fixed in SVN trunk (r1192). Will be on next python-hildon release
(0.9.0-1maemo9).